Render.com deploy : API calls getting 403 #662
-
I saw the blog post about Reder.com deploys I have got things running fine on localhost and the Render.com deploy is showing the web page login, so the JavaScript is working.
I see this in the Render.com web service log:
I have tried setting the PORT env var to 8080 in the Render.com environment. Any ideas why localhost works, but not on Render.com? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Are you seeing anything interesting in the browser devtools? Did you configure CORS? |
Beta Was this translation helpful? Give feedback.
The order shouldn't matter, no, as long as the indentation is right. (You can compare with mine: https://github.com/bitspittle/kobweb-todo-on-render/blob/main/site/.kobweb/conf.yaml)
Can you share a screenshot from your browser tools network tab on the API request (/api/login) that is ending up with the 403 error?