fix
This commit is contained in:
@@ -105,4 +105,9 @@ zhicha:
|
||||
url: "http://proxy.tianyuanapi.com/dataMiddle/api/handle"
|
||||
app_id: "4b78fff61ab8426f"
|
||||
app_secret: "1128f01b94124ae899c2e9f2b1f37681"
|
||||
encrypt_key: "af4ca0098e6a202a5c08c413ebd9fd62"
|
||||
encrypt_key: "af4ca0098e6a202a5c08c413ebd9fd62"
|
||||
development:
|
||||
enable_cors: true
|
||||
cors_allowed_origins: "http://localhost:5173,http://localhost:8080"
|
||||
cors_allowed_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
|
||||
cors_allowed_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,Access-Id"
|
||||
@@ -18,7 +18,7 @@ server:
|
||||
# ===========================================
|
||||
development:
|
||||
enable_cors: true
|
||||
cors_allowed_origins: "https://consoletest.tianyuanapi.com,https://console.tianyuanapi.com"
|
||||
cors_allowed_origins: "http://localhost:5173,https://consoletest.tianyuanapi.com,https://console.tianyuanapi.com"
|
||||
cors_allowed_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
|
||||
cors_allowed_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,Access-Id"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user