chore(vite): allow tailscale hosts for dev server

This commit is contained in:
Nicolas Meienberger
2026-05-30 10:09:01 +02:00
parent 74ddf574a8
commit ddf7cab503
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
"fmt": "vp fmt",
"lint": "vp lint --type-aware --type-check",
"check": "vp check",
"dev": "NODE_ENV=development portless run bunx --bun vite",
"dev": "NODE_ENV=development portless --tailscale run bunx --bun vite",
"build": "bunx --bun vite build",
"start": "bun run .output/server/index.mjs",
"build:backend-integration": "bun build app/test/backend-integration/index.ts --outdir .output/backend-integration --target bun",

View File

@@ -30,6 +30,7 @@ export default defineConfig({
server: {
host: "0.0.0.0",
port: 3000,
allowedHosts: [".ts.net"]
},
fmt: {
printWidth: 120,