update base to deploy at root
This commit is contained in:
parent
541e662ae0
commit
2ba81690bf
@ -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 }),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user