Move the default port to 16880.

1688 is used by MS KMS.
This commit is contained in:
Dan Albert
2022-03-07 17:56:10 -08:00
parent baae65919f
commit ca640ebabe
4 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -2,7 +2,7 @@ import axios from "axios";
const backendAddr =
new URL(window.location.toString()).searchParams.get("server") ??
"[::1]:1688";
"[::1]:16880";
export const HTTP_URL = `http://${backendAddr}/`;