Move the server off the default uvicorn port.

This commit is contained in:
Dan Albert
2022-03-07 00:05:45 -08:00
parent d7e62d0b0b
commit 8c63274f57
4 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import { ConfigFile } from "@rtk-query/codegen-openapi";
const config: ConfigFile = {
schemaFile: "http://[::1]:5000/openapi.json",
schemaFile: "http://[::1]:1688/openapi.json",
apiFile: "./src/api/baseApi.ts",
apiImport: "baseApi",
outputFile: "./src/api/liberationApi.ts",

View File

@@ -1,11 +1,11 @@
import axios from "axios";
export const HTTP_URL = "http://[::1]:5000/";
export const HTTP_URL = "http://[::1]:1688/";
export const backend = axios.create({
baseURL: HTTP_URL,
});
export const WEBSOCKET_URL = "ws://[::1]:5000/eventstream";
export const WEBSOCKET_URL = "ws://[::1]:1688/eventstream";
export default backend;