aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-10-01 17:07:05 +0200
committerivarlovlie <git@ivarlovlie.no>2022-10-01 17:07:05 +0200
commitf17d408286aef780e407fb314c7496715b1e24a0 (patch)
tree0535ec67c234df97e4ea11e2f65a091fcd926ede
parente56d469e9fe865d8b423e1bdf5c3b872ee2319d8 (diff)
downloadgreatoffice-f17d408286aef780e407fb314c7496715b1e24a0.tar.xz
greatoffice-f17d408286aef780e407fb314c7496715b1e24a0.zip
refactor: Use localhost for api url
-rw-r--r--apps/kit/src/lib/configuration.ts4
-rw-r--r--server/src/Properties/launchSettings.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/kit/src/lib/configuration.ts b/apps/kit/src/lib/configuration.ts
index c166025..8138e27 100644
--- a/apps/kit/src/lib/configuration.ts
+++ b/apps/kit/src/lib/configuration.ts
@@ -1,8 +1,8 @@
export const TOP_BASE_DOMAIN = "greatoffice.app";
export const BASE_DOMAIN = "dev.greatoffice.app";
-export const DEV_BASE_DOMAIN = "http://127.0.0.1";
+export const DEV_BASE_DOMAIN = "http://localhost";
export const API_ADDRESS = "https://api." + BASE_DOMAIN;
-export const DEV_API_ADDRESS = "https://127.0.0.1:5001";
+export const DEV_API_ADDRESS = "http://localhost:5000";
export const SECONDS_BETWEEN_SESSION_CHECK = 600;
export function base_domain(path: string = ""): string {
diff --git a/server/src/Properties/launchSettings.json b/server/src/Properties/launchSettings.json
index 6403d71..ebd333b 100644
--- a/server/src/Properties/launchSettings.json
+++ b/server/src/Properties/launchSettings.json
@@ -5,7 +5,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": false,
- "applicationUrl": "https://0.0.0.0:5001;http://0.0.0.0:5000",
+ "applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}