fix: make port 1349 the UI port in all modes

Dev mode: Vite serves UI on 1349, Fastify API on 1350 (proxied)
Production/Docker: Fastify serves both UI and API on 1349
This commit is contained in:
Siddharth Kumar Sah
2026-03-22 10:31:11 +08:00
parent 2723d6a75a
commit 80bb0e29a0
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ await app.register(swagger, {
description: "API for Stirling Image — self-hosted image processing suite",
version: APP_VERSION,
},
servers: [{ url: `http://localhost:${env.PORT}` }],
servers: [{ url: `http://localhost:1349` }],
},
});
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from "zod";
const envSchema = z.object({
PORT: z.coerce.number().default(1349),
PORT: z.coerce.number().default(1350),
AUTH_ENABLED: z
.enum(["true", "false"])
.default("true")