diff --git a/compose/etc/nginx/conf.dev b/compose/etc/nginx/conf.dev index 40af155ae..1f490f745 100644 --- a/compose/etc/nginx/conf.dev +++ b/compose/etc/nginx/conf.dev @@ -74,6 +74,11 @@ server { proxy_pass http://funkwhale-api; } + location /node_modules/.vite/ { + include /etc/nginx/funkwhale_proxy.conf; + proxy_pass http://funkwhale-front; + } + location ~ ^/@(vite-plugin-pwa|vite|id)/ { include /etc/nginx/funkwhale_proxy.conf; proxy_pass http://funkwhale-front; diff --git a/front/src/style/bootstrap-icons/font/bootstrap-icons.scss b/front/src/style/bootstrap-icons/font/bootstrap-icons.scss index c2f231f63..0bc703acc 100644 --- a/front/src/style/bootstrap-icons/font/bootstrap-icons.scss +++ b/front/src/style/bootstrap-icons/font/bootstrap-icons.scss @@ -5,11 +5,10 @@ */ $bootstrap-icons-font: "bootstrap-icons" !default; -$bootstrap-icons-font-dir: "./fonts" !default; +$bootstrap-icons-font-dir: "~/style/bootstrap-icons/font/fonts" !default; $bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default; -$bootstrap-icons-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default; -$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"), - url("#{$bootstrap-icons-font-file}.woff?#{$bootstrap-icons-font-hash}") format("woff") !default; +$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2") format("woff2"), + url("#{$bootstrap-icons-font-file}.woff") format("woff") !default; @font-face { font-display: block; diff --git a/front/src/style/font.scss b/front/src/style/font.scss index 31f534e5f..a0cf4f702 100644 --- a/front/src/style/font.scss +++ b/front/src/style/font.scss @@ -1,4 +1,4 @@ -@import url("~/style/bootstrap-icons/font/bootstrap-icons.css"); +@use "~/style/bootstrap-icons/font/bootstrap-icons.scss"; @font-face { font-family: Lato;