mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-20 06:07:29 +08:00
webui: fix white screen routing/base and add mobile responsive sidebar
This commit is contained in:
@@ -6,6 +6,7 @@ import {defineConfig, loadEnv} from 'vite';
|
||||
export default defineConfig(({mode}) => {
|
||||
const env = loadEnv(mode, '.', '');
|
||||
return {
|
||||
base: '/webui/',
|
||||
plugins: [react(), tailwindcss()],
|
||||
define: {
|
||||
'process.env.GEMINI_API_KEY': JSON.stringify(env.GEMINI_API_KEY),
|
||||
|
||||
Reference in New Issue
Block a user