Specify correct host to make the app available
This commit is contained in:
parent
7e520fb32f
commit
0721ec0f81
1 changed files with 1 additions and 1 deletions
|
@ -14,4 +14,4 @@ tiny_index = TinyIndex(Document, index_path, NUM_PAGES, PAGE_SIZE)
|
|||
app = create_app.create(tiny_index)
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("tinysearchengine.app:app", host="127.0.0.1", port=8080, log_level="info")
|
||||
uvicorn.run("tinysearchengine.app:app", host="0.0.0.0", port=8080, log_level="info")
|
||||
|
|
Loading…
Add table
Reference in a new issue