Vivek0912 commited on
Commit
8a50a39
·
1 Parent(s): 2429523

update cors

Browse files
Files changed (1) hide show
  1. backend/main.py +2 -2
backend/main.py CHANGED
@@ -6,8 +6,8 @@ from fastapi.middleware.cors import CORSMiddleware
6
  app = FastAPI(title="Gen AI Email Processing API") # This creates the FastAPI app instance
7
 
8
  origins = [
9
- "http://localhost:4200", # Angular frontend (Local)
10
- "https://vivek0912-genaiemailclassification.hf.space", # Hugging Face frontend
11
  ]
12
 
13
  #router = APIRouter()
 
6
  app = FastAPI(title="Gen AI Email Processing API") # This creates the FastAPI app instance
7
 
8
  origins = [
9
+ "http://localhost:4200" # Angular frontend (Local)
10
+ # "https://vivek0912-genaiemailclassification.hf.space", # Hugging Face frontend
11
  ]
12
 
13
  #router = APIRouter()