Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

update base to deploy at root

Abi Raja2ba81690bf50
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 37bae62d..2ea6a530 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 }),