We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff1bbd commit 080e2e5Copy full SHA for 080e2e5
src/main/kotlin/app/revanced/api/configuration/HTTP.kt
@@ -14,6 +14,8 @@ fun Application.configureHTTP() {
14
val configurationRepository = get<ConfigurationRepository>()
15
16
install(CORS) {
17
+ HttpMethod.DefaultMethods.minus(HttpMethod.Options).forEach(::allowMethod)
18
+
19
allowHeader(HttpHeaders.ContentType)
20
allowHeader(HttpHeaders.Authorization)
21
0 commit comments