Replies: 2 comments
-
Hi @ceenikc , I converted this one to an issue and edited the title a bit, hopefully we'll find someone with GAE experience! |
Beta Was this translation helpful? Give feedback.
0 replies
-
i had and just fixed a similar issue, I had to set the homepage parameter in the react projects package.json. {
"name": "frontend",
"homepage": "https://www.hustlehub.ca/" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I dont know what went wrong but when I shifted my React App to Google App Engine from Firebase hosting in production which is served using ExpressJs following the process mentioned in the docs and also have a rendertron middleware for dynamic rendering, I keep getting this error in the console "Uncaught SyntaxError: Unexpected token <" and nothing is rendered and I just see a blank white screen. After researching and trying to figure out what went wrong, I think it has something to do with caching because the browser requests for wrong js and css bundles and after disabling the cache everything works fine.
But the thing is I am not using service workers and the cache control header received is cache-control: public, max-age=0.
Also this problem is there only when I try to access the base route and if I try to go to some other route the app loads fine.
I never faced this problem in Firebase hosting.
Beta Was this translation helpful? Give feedback.
All reactions