Skip to content

Commit

Permalink
Fixing Typo in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-wjp committed Feb 8, 2025
1 parent 82ca128 commit 054cefd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/main.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from fastapi import FastAPI, HTTPException
from fastapi.middleware.cors import CORSMiddleware //leave CORS code for dev testing, Azure manages in Prod
from fastapi.middleware.cors import CORSMiddleware #//leave CORS code for dev testing, Azure manages in Prod
from backend.ai.strategy import make_trade_decision # Import your existing code

app = FastAPI()

//leave CORS code for dev testing, Azure manages in Prod
Configure CORS
app.add_middleware(
#//leave CORS code for dev testing, Azure manages in Prod
#//Configure CORS
app.add_middleware(
CORSMiddleware,
allow_origins=["http://hodlbot.wjp.ai"], # Allow the frontend origin
allow_credentials=True,
Expand Down

0 comments on commit 054cefd

Please sign in to comment.