jayyai commited on
Commit
a3614b1
·
verified ·
1 Parent(s): b71fd6c
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ app = FastAPI(
14
  # Add CORS middleware
15
  app.add_middleware(
16
  CORSMiddleware,
17
- allow_origins=["https://readmytable.vercel.app", "http://localhost:3000"], # Allows all origins
18
  allow_credentials=True,
19
  allow_methods=["*"], # Allows all methods
20
  allow_headers=["*"], # Allows all headers
 
14
  # Add CORS middleware
15
  app.add_middleware(
16
  CORSMiddleware,
17
+ allow_origins=["https://readmytable.vercel.app"], # Allows all origins
18
  allow_credentials=True,
19
  allow_methods=["*"], # Allows all methods
20
  allow_headers=["*"], # Allows all headers
requirements.txt CHANGED
@@ -11,4 +11,4 @@ python-dotenv==1.0.0
11
  python-docx==1.1.0
12
  pandas==2.1.4
13
  openpyxl==3.1.5
14
- xlsxwriter=3.2.2
 
11
  python-docx==1.1.0
12
  pandas==2.1.4
13
  openpyxl==3.1.5
14
+ xlsxwriter==3.2.2