補上內網allowHost
This commit is contained in:
@@ -10,6 +10,7 @@ fun Application.configureHttp() {
|
||||
install(CORS) {
|
||||
allowHost("localhost:8080")
|
||||
allowHost("table.sakunadaisuki.club")
|
||||
allowHost("192.168.50.128:10002")
|
||||
|
||||
allowMethod(HttpMethod.Options)
|
||||
allowMethod(HttpMethod.Put)
|
||||
|
||||
Reference in New Issue
Block a user