diff --git a/lightrag_webui/vite.config.ts b/lightrag_webui/vite.config.ts
index 5381a870..084f09e0 100644
--- a/lightrag_webui/vite.config.ts
+++ b/lightrag_webui/vite.config.ts
@@ -4,21 +4,9 @@ import { webuiPrefix } from '@/lib/constants'
import react from '@vitejs/plugin-react-swc'
import tailwindcss from '@tailwindcss/vite'
-// A custom Vite plugin to add cache-control headers to index.html
-const noCachePlugin = () => ({
- name: 'no-cache',
- transformIndexHtml(html: string) {
- const cacheControlMeta = `
-
-
- `;
- return html.replace('', `${cacheControlMeta}\n`);
- },
-});
-
// https://vite.dev/config/
export default defineConfig({
- plugins: [react(), tailwindcss(), noCachePlugin()],
+ plugins: [react(), tailwindcss()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')