Huy Nguyen commited on
Commit
99539a5
·
1 Parent(s): fba32b8

add frontend to allow-origins

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -48,7 +48,7 @@ temp_files = {}
48
  middleware = [
49
  Middleware(
50
  CORSMiddleware,
51
- allow_origins=['http://localhost:8100'],
52
  allow_methods =['*'],
53
  ),
54
  ]
 
48
  middleware = [
49
  Middleware(
50
  CORSMiddleware,
51
+ allow_origins=['http://localhost:8100', 'https://text2quiz-three.vercel.app'],
52
  allow_methods =['*'],
53
  ),
54
  ]