Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e50e769e22 | ||
|
|
b7c85e2368 |
+2
-2
@@ -36,7 +36,7 @@ open class OpenApiConfiguration {
|
|||||||
.version(apiVersion)
|
.version(apiVersion)
|
||||||
.description(apiDescription)
|
.description(apiDescription)
|
||||||
)
|
)
|
||||||
.addServersItem(Server().url("http://localhost:12000"))
|
.addServersItem(Server().url("http://localhost:12000"))
|
||||||
.addServersItem(Server().url("https://api.2martens.de"))
|
.addServersItem(Server().url("https://api.2martens.de"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -20,6 +20,9 @@ open class WebConfiguration(private val headerInterceptorRest: HeaderInterceptor
|
|||||||
HttpMethod.PUT.name(), HttpMethod.OPTIONS.name()
|
HttpMethod.PUT.name(), HttpMethod.OPTIONS.name()
|
||||||
)
|
)
|
||||||
registration.allowCredentials(true)
|
registration.allowCredentials(true)
|
||||||
registration.allowedOrigins("http://localhost:4200")
|
registration.allowedOrigins(
|
||||||
|
"http://localhost:4200",
|
||||||
|
"https://wahlrecht.2martens.de"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user