mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: unify project on port 1349, improve strip-metadata and UI components
Consolidate all access to localhost:1349 — Vite dev server serves on 1349 and proxies API calls to an internal dev port (13490). Production API defaults to 1349. Also includes strip-metadata improvements, UI component updates, and compress operation fixes.
This commit is contained in:
@@ -42,9 +42,10 @@ export default defineConfig({
|
||||
webServer: [
|
||||
{
|
||||
command: "pnpm --filter @stirling-image/api dev",
|
||||
port: 1350,
|
||||
port: 13490,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
env: {
|
||||
PORT: "13490",
|
||||
AUTH_ENABLED: "true",
|
||||
DEFAULT_USERNAME: "admin",
|
||||
DEFAULT_PASSWORD: "admin",
|
||||
|
||||
Reference in New Issue
Block a user