chore(vite): allow tailscale hosts for dev server
This commit is contained in:
parent
74ddf574a8
commit
ddf7cab503
2 changed files with 2 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ export default defineConfig({
|
|||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
allowedHosts: [".ts.net"]
|
||||
},
|
||||
fmt: {
|
||||
printWidth: 120,
|
||||
|
|
|
|||
Loading…
Reference in a new issue