mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-06-02 04:58:10 -04:00
chore(vite): allow tailscale hosts for dev server
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user