From 2ba81690bf50929f786c51bca2aa97a177d612e1 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Tue, 28 Nov 2023 16:58:29 -0500 Subject: [PATCH] update base to deploy at root --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 37bae62..2ea6a53 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -8,7 +8,7 @@ import { createHtmlPlugin } from "vite-plugin-html"; export default ({ mode }) => { process.env = { ...process.env, ...loadEnv(mode, process.cwd()) }; return defineConfig({ - base: process.env.VITE_IS_DEPLOYED ? "/free-tools/screenshot-to-code/" : "", + base: "", plugins: [ react(), checker({ typescript: true }),