diff --git a/promo/landing/.env.example b/promo/landing/.env.example new file mode 100644 index 0000000..4e34f63 --- /dev/null +++ b/promo/landing/.env.example @@ -0,0 +1 @@ +VITE_BASE_PATH=/ diff --git a/promo/landing/index.html b/promo/landing/index.html index dc613ec..3045ddb 100644 --- a/promo/landing/index.html +++ b/promo/landing/index.html @@ -2,7 +2,7 @@ - + { + const env = loadEnv(mode, ".", ""); + + return { + base: env.VITE_BASE_PATH || "/", + plugins: [react(), tailwindcss()], + server: { + port: 5273, + open: true, + }, + }; });