fix(pos): correct Font Awesome webfont URL in bundled CSS
The CSS lived at public/pos/fa/all.min.css but its url() references used ../webfonts/..., which from that location resolves to /pos/webfonts/... rather than /pos/fa/webfonts/. The woff2 was at the latter, so the browser silently 404'd every font request and the icons rendered as tofu boxes. The original FA 6.5.2 CSS ships with ../webfonts/... because it assumes the CSS sits in a sibling css/ subdirectory next to webfonts/. Ours is one level deeper, so the path is now plain webfonts/.... Bump SW cache to v15 so installed tills pick up the corrected CSS. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6c21ad70d6
commit
e0480878a6
2 changed files with 2 additions and 2 deletions
2
public/pos/fa/all.min.css
vendored
2
public/pos/fa/all.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
// Service worker — cache app shell, network-first for HTML + theme.js, cache-first for other static.
|
||||
const CACHE = "pos-v14";
|
||||
const CACHE = "pos-v15";
|
||||
const APP_SHELL = [
|
||||
'./',
|
||||
'./index.html',
|
||||
|
|
|
|||
Loading…
Reference in a new issue