GuglielmoTor commited on
Commit
d070696
·
verified ·
1 Parent(s): b560569

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ app = FastAPI()
10
  # Allow CORS for your Bubble frontend
11
  app.add_middleware(
12
  CORSMiddleware,
13
- allow_origins=['https://your-bubble-app.com'], # Replace with your actual Bubble app domain
14
  allow_methods=['POST'],
15
  allow_headers=['*'],
16
  allow_credentials=True,
@@ -33,7 +33,7 @@ async def set_token(payload: TokenIn, response: Response):
33
  httponly=True,
34
  secure=True,
35
  samesite='none',
36
- domain='your-gradio-app.com', # Replace with your actual domain if needed
37
  max_age=3600,
38
  path='/'
39
  )
 
10
  # Allow CORS for your Bubble frontend
11
  app.add_middleware(
12
  CORSMiddleware,
13
+ allow_origins=['https://app.ingaze.ai'], # Replace with your actual Bubble app domain
14
  allow_methods=['POST'],
15
  allow_headers=['*'],
16
  allow_credentials=True,
 
33
  httponly=True,
34
  secure=True,
35
  samesite='none',
36
+ domain='GuglielmoTor--LinkedinMonitor.hf.space', # Replace with your actual domain if needed
37
  max_age=3600,
38
  path='/'
39
  )