ws
This commit is contained in:
1 parent
b6315fcca1
commit
652cf23e34
2 files changed
+2
-2
No files matched your search
@@ -15,7 +15,7 @@ origins = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
app.include_router(routes.router, prefix="/api")
|
app.include_router(routes.router, prefix="/api")
|
||||||
app.include_router(ws_router, prefix="")
|
app.include_router(ws_router, prefix="/ws")
|
||||||
|
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const URL = process.env.NODE_ENV == 'development'? '127.0.0.1:8000': '10.252.44.
|
|||||||
// '172.16.200.33:8000':'10.252.44.28'
|
// '172.16.200.33:8000':'10.252.44.28'
|
||||||
|
|
||||||
const baseURL = `http://${URL}/api/`;
|
const baseURL = `http://${URL}/api/`;
|
||||||
const wsURL = `ws://${URL}`
|
const wsURL = `ws://${URL}/ws/`
|
||||||
|
|
||||||
const axiosClear = axios.create({
|
const axiosClear = axios.create({
|
||||||
baseURL,
|
baseURL,
|
||||||
|
|||||||
Reference in new issue
Block a user