수정
This commit is contained in:
@@ -72,6 +72,10 @@ class SecurityConfig {
|
||||
patterns.add("http://127.0.0.1:*");
|
||||
patterns.add("http://192.168.*.*:*");
|
||||
patterns.add("http://10.*.*.*:*");
|
||||
patterns.add("tauri://localhost");
|
||||
patterns.add("tauri://*");
|
||||
patterns.add("https://tauri.localhost");
|
||||
patterns.add("http://tauri.localhost");
|
||||
c.setAllowedOriginPatterns(patterns);
|
||||
}
|
||||
c.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
|
||||
|
||||
@@ -26,5 +26,5 @@ app:
|
||||
secret: ${APP_JWT_SECRET:billcare-bizcare-homes-secret-key-must-be-long-enough-256bits}
|
||||
expiration-ms: ${APP_JWT_EXPIRATION_MS:86400000}
|
||||
cors:
|
||||
origins: ${APP_CORS_ORIGINS:http://localhost:5174,http://localhost:82,http://127.0.0.1:82}
|
||||
origins: ${APP_CORS_ORIGINS:http://localhost:5174,http://localhost:82,http://127.0.0.1:82,http://localhost:1420,https://billcare.exdev.co.kr,tauri://localhost,https://tauri.localhost,http://tauri.localhost}
|
||||
upload-dir: ${APP_UPLOAD_DIR:./storage/uploads}
|
||||
|
||||
Reference in New Issue
Block a user