Skip to content

Conversation

@pristalovpavel
Copy link

This string allows you, for example, upload your app to Heroku while you DB is in MongoDB Atlas. In this case CORS blocks your POST requests. See https://youtrack.jetbrains.com/issue/KTOR-4008/POST-request-to-database-returns-403-error#focus=Comments-27-6434385.0-0

This string allows you, for example, upload your app to Heroku while you DB is in MongoDB Atlas. In this case CORS blocks your POST requests. See https://youtrack.jetbrains.com/issue/KTOR-4008/POST-request-to-database-returns-403-error#focus=Comments-27-6434385.0-0
@pristalovpavel pristalovpavel changed the title Update Server.kt Fix CORS for PaaS deploy Mar 27, 2023
@SebastianAigner SebastianAigner merged commit 8aba666 into kotlin-hands-on:final Mar 27, 2023
@SebastianAigner
Copy link
Member

Excellent – thank you for the contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants