Skip to content

Commit 054d3f0

Browse files
authored
Merge pull request #58 from donottellmetonottellyou/donottellmetonottellyou/less-busy-ports
Use less busy ports
2 parents 25986da + 69b9f48 commit 054d3f0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

LegendsViewer.Backend/LegendsViewer.Backend.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@LegendsViewer.Backend_HostAddress = http://localhost:5054
1+
@LegendsViewer.Backend_HostAddress = http://localhost:15421
22

33
POST {{LegendsViewer.Backend_HostAddress}}/api/Bookmark/loadByFullPath
44
Content-Type: application/json

LegendsViewer.Backend/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace LegendsViewer.Backend;
1616
public class Program
1717
{
1818
private const string AllowAllOriginsPolicy = "AllowAllOrigins";
19-
public const uint BackendPort = 5054;
19+
public const uint BackendPort = 15421;
2020
public static readonly string BackendUrl = $"http://localhost:{BackendPort}";
2121

2222
public static void Main(string[] args)

LegendsViewer.Backend/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dotnetRunMessages": true,
1515
"launchBrowser": true,
1616
"launchUrl": "swagger",
17-
"applicationUrl": "http://localhost:5054",
17+
"applicationUrl": "http://localhost:15421",
1818
"environmentVariables": {
1919
"ASPNETCORE_ENVIRONMENT": "Development"
2020
}

LegendsViewer.Frontend/WebAppStaticServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace LegendsViewer.Frontend;
55

66
public static class WebAppStaticServer
77
{
8-
public const uint WebAppPort = 8081;
8+
public const uint WebAppPort = 15422;
99
public static readonly string WebAppUrl = $"http://localhost:{WebAppPort}";
1010

1111
public static async Task RunAsync()

LegendsViewer.Frontend/legends-viewer-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "vite",
88
"build": "vue-tsc -b && vite build",
99
"preview": "vite preview",
10-
"generate-api-schema": "npx openapi-typescript http://localhost:5054/swagger/v1/swagger.json -o ./src/generated/api-schema.d.ts"
10+
"generate-api-schema": "npx openapi-typescript http://localhost:15421/swagger/v1/swagger.json -o ./src/generated/api-schema.d.ts"
1111
},
1212
"dependencies": {
1313
"chart.js": "^4.4.8",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import createClient from "openapi-fetch";
22
import type { paths } from "./generated/api-schema";
33

4-
const client = createClient<paths>({ baseUrl: "http://localhost:5054/" });
4+
const client = createClient<paths>({ baseUrl: "http://localhost:15421/" });
55

66
export default client;

0 commit comments

Comments
 (0)