Skip to content

Commit

Permalink
add frontend_url
Browse files Browse the repository at this point in the history
  • Loading branch information
iandday committed Mar 10, 2024
1 parent 491411f commit 6c67483
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions backend/plant_tracker_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@

logger = logging.getLogger("uvicorn")

origins = [
"http://localhost",
"http://localhost:5173",
"http://10.168.1.168:5173",
"http://10.168.1.173:5173",
"http://10.168.1.168:8080",
"http://10.168.1.173:8080",
]
origins = [os.getenv("FRONTEND_URL")]


def seed_database():
Expand Down

0 comments on commit 6c67483

Please sign in to comment.