Replies: 1 comment 2 replies
-
Hi, @Hejtmus did you manage to figure it out? |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have deployed SvelteKit (2.8.1, but also older version share the character) app to Google Cloud Functions (which runs on Cloud Run) using node adapter, exported handler as a cloud function.
The problem
The server correctly handles GET requests, but every non-GET request fails, in dev mode it works like expected. I have modified the adapter code, to print all incoming requests, and also placed similar logging to server hooks.
When making POST request, for instance logging in, the request reaches the first log (that means the problem is not in Cloud Run), but the request doesn't reach the server hooks.
Fixing attempts:
Does anyone have idea what am I doing wrong? I can provide more info if needed.
Beta Was this translation helpful? Give feedback.
All reactions