Hosting frontend folder in S3 bucket doesn't show app installation consent screen. Is it possible to host it in s3 as static site? #1232
Unanswered
anerror404
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to serve my backend part (/api/* routes) in lambda serverless and fronted part in s3 as a static site.
So basically in "/" route i serve content from s3 with api gateway and " /api/* routes are servered from lambda.
When i try to install the application it takes me to a page which shows There’s no page at this address. Later i saw that, there is a middleware in express route called shopify.ensureInstalledOnShop() which is causing this problem. But when i install the app locally and later change the application url and callback url it works with s3 version.
Is there any way, to serve frontend dist folder as a static site skipping shopify.ensureInstalledOnShop()?
Beta Was this translation helpful? Give feedback.
All reactions