feat: 域名修改

This commit is contained in:
Tim
2025-08-08 14:26:49 +08:00
parent 9120ea511b
commit af9028190d
2 changed files with 7 additions and 4 deletions

View File

@@ -74,11 +74,13 @@ public class SecurityConfig {
CorsConfiguration cfg = new CorsConfiguration();
cfg.setAllowedOrigins(List.of(
"http://127.0.0.1:8080",
"http://127.0.0.1:3000",
"http://127.0.0.1",
"http://localhost:8080",
"http://localhost:3000",
"http://localhost",
"http://30.211.106.178:8080",
"http://30.211.106.178",
"http://30.211.97.238:3000",
"http://30.211.97.238",
"http://192.168.7.70",
"http://192.168.7.70:8080",
websiteUrl,

View File

@@ -1,5 +1,6 @@
// export const API_BASE_URL = 'https://www.open-isle.com'
export const API_BASE_URL = 'http://127.0.0.1:8081'
export const API_BASE_URL = 'https://www.open-isle.com'
// export const API_BASE_URL = 'http://127.0.0.1:8081'
// export const API_BASE_URL = 'http://30.211.97.238:8081'
export const GOOGLE_CLIENT_ID = '777830451304-nt8afkkap18gui4f9entcha99unal744.apps.googleusercontent.com'
export const GITHUB_CLIENT_ID = 'Ov23liVkO1NPAX5JyWxJ'
export const DISCORD_CLIENT_ID = '1394985417044000779'