Connect React workspace to backend data
This commit is contained in:
@@ -47,6 +47,12 @@ func cors() gin.HandlerFunc {
|
||||
allowedOrigins := map[string]bool{
|
||||
"http://localhost:5173": true,
|
||||
"http://127.0.0.1:5173": true,
|
||||
"http://localhost:4173": true,
|
||||
"http://127.0.0.1:4173": true,
|
||||
"http://localhost:4174": true,
|
||||
"http://127.0.0.1:4174": true,
|
||||
"http://localhost:4175": true,
|
||||
"http://127.0.0.1:4175": true,
|
||||
"http://tauri.localhost": true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user