LT360 commited on
Commit
0d4818b
·
1 Parent(s): 47e416f

Update CORS

Browse files
Files changed (1) hide show
  1. app/main.py +1 -4
app/main.py CHANGED
@@ -9,10 +9,7 @@ from .ml import get_model_prediction, check_model_status
9
  app = FastAPI(title="AI-Powered Phishing Email Detection System")
10
 
11
  # Define allowed origins for CORS
12
- origins = [
13
- "https://ai-powered-phishing-email-detection-system.vercel.app",
14
- "http://localhost:3000",
15
- ]
16
 
17
  app.add_middleware(
18
  CORSMiddleware,
 
9
  app = FastAPI(title="AI-Powered Phishing Email Detection System")
10
 
11
  # Define allowed origins for CORS
12
+ origins = ["*"]
 
 
 
13
 
14
  app.add_middleware(
15
  CORSMiddleware,