Skip to content

Commit

Permalink
allow all origins for now to see if this is the real issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Dec 11, 2024
1 parent 401d76f commit f7760fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/burn_backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@

## APP SETUP ##
app = FastAPI(docs_url="/documentation")
logging.info(f"Burn backend api started at time {datetime.now()}")
logging.warning("This is a warning message")

print(os.getenv("ENV"))

Expand All @@ -71,7 +69,8 @@

app.add_middleware(
CORSMiddleware,
allow_origins=allowed_origins, # Allows specified origins
# allow_origins=allowed_origins, # Allows specified origins
allow_origins=["*"], # Allows all origins (DEBUG)
allow_credentials=True,
allow_methods=["*"], # Allows all methods
allow_headers=["*"], # Allows all headers
Expand Down

0 comments on commit f7760fb

Please sign in to comment.