Skip to content

Commit

Permalink
Merge pull request #1787 from DSD-DBS/frontend-host
Browse files Browse the repository at this point in the history
build(dev): Run frontend on `localhost` instead of `127.0.0.1`
  • Loading branch information
MoritzWeber0 authored Sep 11, 2024
2 parents 576bce6 + f7c2acf commit 74429f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/capellacollab/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

ALLOW_ORIGINS = (
[f"{config.general.scheme}//{config.general.host}:{config.general.port}"]
+ ["http://localhost:4200"]
+ ["http://localhost:4200", "http://127.0.0.1:4200"]
if core.DEVELOPMENT_MODE
else []
)
Expand Down
2 changes: 1 addition & 1 deletion frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

export NG_FORCE_TTY=false

HOST ?= 127.0.0.1
HOST ?= localhost

.ONESHELL:

Expand Down

0 comments on commit 74429f6

Please sign in to comment.