User-facing port unified at 1337 — vibes-aligned and easier to remember than 8080/8420. Updates: api default PORT, .env.example, docker-compose mapping (1337:1337), healthcheck target, Dockerfile EXPOSE, Vite dev proxy. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
399 B
TypeScript
22 lines
399 B
TypeScript
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://localhost:1337",
|
|
changeOrigin: true,
|
|
},
|
|
"/healthz": "http://localhost:1337",
|
|
},
|
|
},
|
|
build: {
|
|
outDir: "dist",
|
|
sourcemap: true,
|
|
target: "es2022",
|
|
},
|
|
});
|