[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
This commit is contained in:
Ivan Gabaldon
2026-01-27 11:32:23 +01:00
committed by GitHub
parent da6ab39049
commit a9877aba3e
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ const svg2svg_favicon_opts: Config = {
};
export default {
base: "/static/themes/simple/",
base: "./",
publicDir: "static/",
build: {