diff options
| author | Ivan Gabaldon <igabaldon@inetol.net> | 2026-01-27 11:32:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-27 11:32:23 +0100 |
| commit | a9877aba3eb848e73b5d599cc5a2b58cbda7150b (patch) | |
| tree | c310611d0ece22f0af8b195434cfb55c481a3684 /client/simple/vite.config.ts | |
| parent | da6ab39049f64adcd864c1fac22d8d06902fb2f4 (diff) | |
[fix] themes: module resolution (#5694)
Vite should not pregen static paths on build, but rather compute the relative path at runtime.
- https://vite.dev/config/shared-options#base
Closes: https://github.com/searxng/searxng/issues/5561
Diffstat (limited to 'client/simple/vite.config.ts')
| -rw-r--r-- | client/simple/vite.config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/simple/vite.config.ts b/client/simple/vite.config.ts index c37025c61..92148bb34 100644 --- a/client/simple/vite.config.ts +++ b/client/simple/vite.config.ts @@ -34,7 +34,7 @@ const svg2svg_favicon_opts: Config = { }; export default { - base: "/static/themes/simple/", + base: "./", publicDir: "static/", build: { |
