vite: allow setting PORT envvar

environments/review-ditto-auth-csh1vn/deployments/4454
Alex Gleason 7 months ago
parent 6e0cb369dc
commit b9c771a369
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -27,7 +27,7 @@ export default defineConfig(({ command }) => ({
},
assetsInclude: ['**/*.oga'],
server: {
port: 3036,
port: Number(process.env.PORT ?? 3036),
},
optimizeDeps: {
exclude: command === 'serve' ? ['@soapbox.pub/wasmboy'] : [],

Loading…
Cancel
Save