Skip to content

Commit 4ae2471

Browse files
committed
migrate
1 parent d2068cb commit 4ae2471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"name": "Python: Current File",
99
"type": "python",
1010
"request": "launch",
11-
"program": "${workspaceFolder}/src/main.py",
11+
"program": "${workspaceFolder}/src/fastAPI.py",
1212
"console": "integratedTerminal",
1313
// "justMyCode": true,
1414
"cwd": "${workspaceFolder}/src",
1515
"args": ["--broker-address", "192.168.0.105",
16-
"--db-host", "172.18.0.1"]
16+
"--db-host", "localhost"]
1717
}
1818
]
1919
}

src/fastAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,6 @@ async def get_subscribed_topics():
375375

376376
if __name__ == "__main__":
377377
try:
378-
uvicorn.run("__main__:app", host="0.0.0.0", port=8000, reload=True, log_level="debug")
378+
uvicorn.run("__main__:app", host="0.0.0.0", port=8002, reload=True, log_level="debug")
379379
except KeyboardInterrupt:
380380
logger.info("Keyboard interrupt received. Stopping the application...")

0 commit comments

Comments
 (0)