Cannot access assets #1243
Answered
by
mnapoli
0x346e3730
asked this question in
Support
Cannot access assets
#1243
-
Beta Was this translation helpful? Give feedback.
Answered by
mnapoli
Jul 9, 2022
Replies: 1 comment 3 replies
-
Oh you seem to have missed 2 things:
You should try something like this instead: constructs:
assets:
type: server-side-website
domain: assets.invoice.clauzier.dev
certificate: arn:aws:acm:us-east-1:918492818297:certificate/b9b3d656-c4a5-44ab-aee9-47eb7e4571cf
assets:
'/build/*': public/build and move the assets in a sub-directory (e.g. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
0x346e3730
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh you seem to have missed 2 things:
/*
-> this is pointed out in the docs, I think this is a simple oversight: https://github.com/getlift/lift/blob/master/docs/server-side-website.md#assets/
or/*
for assets, because this is where the PHP application already is -> this isn't clear enough in the Lift documentation, I've opened getlift/lift#239 to show a clear error message insteadYou should try something like this instead: