Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.ini.default
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[SERVICE]
endpoint=http://127.0.0.1
LISTEN_ADDRESS=127.0.0.1
port=8000
equivalence_table_file=./resources/equivalence_table.json

Expand Down
2 changes: 1 addition & 1 deletion semantic_matcher/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ def _get_matcher_from_semantic_id(self, semantic_id: str) -> str:
APP.include_router(
SEMANTIC_MATCHING_SERVICE.router
)
uvicorn.run(APP, host="0.0.0.0", port=int(config["SERVICE"]["PORT"]))
uvicorn.run(APP, host=config["SERVICE"]["LISTEN_ADDRESS"], port=int(config["SERVICE"]["PORT"]))
Loading