We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1a562 commit 03b7cc4Copy full SHA for 03b7cc4
rust/leanspec-http/src/config.rs
@@ -86,15 +86,9 @@ fn default_cors_enabled() -> bool {
86
}
87
88
fn default_cors_origins() -> Vec<String> {
89
- vec![
90
- "http://localhost:5173".to_string(), // Vite dev server
91
- "http://localhost:3000".to_string(), // Next.js
92
- "http://localhost:3333".to_string(), // Self
93
- "http://127.0.0.1:5173".to_string(),
94
- "http://127.0.0.1:3000".to_string(),
95
- "http://127.0.0.1:3333".to_string(),
96
- "tauri://localhost".to_string(), // Tauri
97
- ]
+ // Allow all origins by default for development convenience
+ // In production, you should specify explicit origins
+ vec![]
98
99
100
/// UI preferences
0 commit comments