An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Update vite.config.js
peaklabs-devee049d652511
diff --git a/vite.config.js b/vite.config.jsindex 3598d391a6..fff4bd2d4b 100644--- a/vite.config.js+++ b/vite.config.js@@ -6,23 +6,11 @@ export default defineConfig({server: {watch: {ignored: ['**/_data/**'],- },+ },host: "0.0.0.0",- hmr: process.env.GITPOD_WORKSPACE_URL- ? {- // Due to port forwarding, we have to replace- // 'https' with the forwarded port, as this- // is the URI created by GitPod.- host: process.env.GITPOD_WORKSPACE_URL.replace(- "https://",- "5173-"- ),- protocol: "wss",- clientPort: 443,- }- : {- host: process.env.VITE_HOST,- },+ hmr: {+ host: process.env.VITE_HOST,+ },},plugins: [laravel({