This commit is contained in:
Macbook
2026-07-12 05:37:13 +09:00
parent 9c49b01d7f
commit 3c57a28edd
6 changed files with 49 additions and 6 deletions
@@ -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"));
+1 -1
View File
@@ -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}