pcp-tgu
This commit is contained in:
+3
-3
@@ -48,8 +48,8 @@ class WebConfig : WebMvcConfigurer {
|
||||
.allowedOrigins(
|
||||
"http://localhost:3000",
|
||||
"http://localhost:8080",
|
||||
"http://192.168.60.68:7008",
|
||||
"http://192.168.60.68:8080"
|
||||
"http://192.168.1.8:7008",
|
||||
"http://192.168.1.8:8080"
|
||||
)
|
||||
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH")
|
||||
.allowedHeaders("*")
|
||||
@@ -66,7 +66,7 @@ class WebConfig : WebMvcConfigurer {
|
||||
// Разрешенные origin'ы
|
||||
allowedOriginPatterns = listOf(
|
||||
"http://localhost:*",
|
||||
"http://192.168.60.68:*"
|
||||
"http://192.168.1.8:*"
|
||||
)
|
||||
// Разрешенные заголовки
|
||||
allowedHeaders = listOf(
|
||||
|
||||
@@ -7,7 +7,7 @@ spring:
|
||||
import: "configserver:"
|
||||
cloud:
|
||||
config:
|
||||
uri: ${CONFIG_SERVER_URI:http://localhost:8888}
|
||||
uri: ${CONFIG_SERVER_URI:http://192.168.60.201:8888}
|
||||
fail-fast: ${CONFIG_SERVER_FAIL_FAST:true}
|
||||
profile: ${SPRING_CLOUD_CONFIG_PROFILE:${SPRING_PROFILES_ACTIVE:${spring.profiles.default}}}
|
||||
label: ${SPRING_CLOUD_CONFIG_LABEL:dev}
|
||||
|
||||
Reference in New Issue
Block a user