diff --git a/vite.config.ts b/vite.config.ts index aa5320e61..a174b0644 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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'] : [],