Skip to content

Commit

Permalink
Added WEB_HOST/WEB_PORT parameters to config.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdocua committed Sep 28, 2023
1 parent 400df11 commit 95a9a8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repromon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ UI2_APP_PATH=${ROOT_PATH}/repromon_vue/build
# user to create default singleton security context
#DEBUG_USERNAME=user1

WEB_HOST=${WEB_HOST}
WEB_PORT=${WEB_PORT}

[db]
#SQLAlchemy DB engine configuration

Expand Down
2 changes: 2 additions & 0 deletions repromon_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class SettingsConfig(BaseSectionConfig):
TOKEN_EXPIRE_SEC: int = 24 * 60 * 60
UI_APP_PATH: str = None
UI2_APP_PATH: str = None
WEB_HOST: str = "localhost"
WEB_PORT: int = 9095

@property
def CORS_ALLOW_ORIGINS_LIST(self) -> list[str]:
Expand Down

0 comments on commit 95a9a8b

Please sign in to comment.