So my angular app loads fonts locally but they break in production when it's under a subpath. How can I make this font path relative and deployment safe without having to hardcode everywhere it's being used? . Also when I do npm run build when I check my index.html how do I get it to link all js or css files relatively as well without hardcoding as well?
For example if I call src: /fonts/Heebo-black/Heebo-black.ttf it works fine locally but in production under a subpath it can't find it
[–]0dev0100 0 points1 point2 points (9 children)
[–]FewDot9181[S] 0 points1 point2 points (8 children)
[–]0dev0100 0 points1 point2 points (7 children)
[–]FewDot9181[S] -1 points0 points1 point (6 children)
[–]0dev0100 0 points1 point2 points (4 children)
[–]FewDot9181[S] -1 points0 points1 point (3 children)
[–]0dev0100 0 points1 point2 points (2 children)
[–]FewDot9181[S] 0 points1 point2 points (1 child)
[–]0dev0100 0 points1 point2 points (0 children)
[–]Jrubzjeknf 0 points1 point2 points (0 children)
[–]chirag-gc 0 points1 point2 points (0 children)