feat:增加前端cors配置

This commit is contained in:
2025-08-02 10:50:25 +08:00
parent e2c1307003
commit a11489c5b2
3 changed files with 19 additions and 6 deletions
+5
View File
@@ -7,3 +7,8 @@ spring:
password: GUOxy5157
server:
port: 5157
cors:
allowed-origins:
- http://192.168.123.199:5158
- http://39.105.149.197:5158
+4 -1
View File
@@ -6,4 +6,7 @@ spring:
username: root
password:
server:
port: 5157
port: 5157
cors:
allowed-origins: http://localhost:5158