shrijayan commited on
Commit
8e74260
·
1 Parent(s): 99d76a5

Add localhost Vite development server port to allowed origins

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -13,7 +13,8 @@ logger = setup_logging()
13
 
14
  allow_origins = [
15
  "https://*.hf.space",
16
- "http://localhost:7860"
 
17
  ]
18
 
19
  app.add_middleware(
 
13
 
14
  allow_origins = [
15
  "https://*.hf.space",
16
+ "http://localhost:7860",
17
+ "http://localhost:5173" # Default Vite development server port
18
  ]
19
 
20
  app.add_middleware(