Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LegendsViewer.Backend/LegendsViewer.Backend.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@LegendsViewer.Backend_HostAddress = http://localhost:5054
@LegendsViewer.Backend_HostAddress = http://localhost:15421

POST {{LegendsViewer.Backend_HostAddress}}/api/Bookmark/loadByFullPath
Content-Type: application/json
Expand Down
2 changes: 1 addition & 1 deletion LegendsViewer.Backend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace LegendsViewer.Backend;
public class Program
{
private const string AllowAllOriginsPolicy = "AllowAllOrigins";
public const uint BackendPort = 5054;
public const uint BackendPort = 15421;
public static readonly string BackendUrl = $"http://localhost:{BackendPort}";

public static void Main(string[] args)
Expand Down
2 changes: 1 addition & 1 deletion LegendsViewer.Backend/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5054",
"applicationUrl": "http://localhost:15421",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
2 changes: 1 addition & 1 deletion LegendsViewer.Frontend/WebAppStaticServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace LegendsViewer.Frontend;

public static class WebAppStaticServer
{
public const uint WebAppPort = 8081;
public const uint WebAppPort = 15422;
public static readonly string WebAppUrl = $"http://localhost:{WebAppPort}";

public static async Task RunAsync()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"generate-api-schema": "npx openapi-typescript http://localhost:5054/swagger/v1/swagger.json -o ./src/generated/api-schema.d.ts"
"generate-api-schema": "npx openapi-typescript http://localhost:15421/swagger/v1/swagger.json -o ./src/generated/api-schema.d.ts"
},
"dependencies": {
"chart.js": "^4.4.8",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import createClient from "openapi-fetch";
import type { paths } from "./generated/api-schema";

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

export default client;