tiesont / Font.Awesome.Packages

Repo for the Font.Awesome NuGet packages
MIT License
5 stars 1 forks source link

Fonts #5

Closed Devnsyde closed 4 years ago

Devnsyde commented 4 years ago

The webfonts directory is missing for the @font-face in fontawesome-all.css and is throwing an error in the developer console, can you add the fonts?

Devnsyde commented 4 years ago

Sorry found the fonts in the root directory and its called webfonts, explains why it works fine in debug but not when I release, just need to add to bundles.

tiesont commented 4 years ago

Yeah, sorry, I just copy the directory as-is when creating the NuGet package. Probably more effort than it's worth, but it is possible to add either a rewrite rule in your web.config or a custom route mapping that would route requests from /fonts to /webfonts (assuming you didn't have anything else in the fonts directory).

Devnsyde commented 4 years ago

I actually got it all figured out, I would have deleted this issue if I could but didn't see a way so I just closed it. Sorry I bothered you.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Tieson Trowbridge notifications@github.com Sent: Tuesday, October 20, 2020 3:10:32 PM To: tiesont/Font.Awesome.Packages Font.Awesome.Packages@noreply.github.com Cc: Devnsyde lucas_jh@hotmail.com; State change state_change@noreply.github.com Subject: Re: [tiesont/Font.Awesome.Packages] Fonts (#5)

Yeah, sorry, I just copy the directory as-is when creating the NuGet package. Probably more effort than it's worth, but it is possible to add either a rewrite rule in your web.config or a custom route mapping that would route requests from /fonts to /webfonts (assuming you didn't have anything else in the fonts directory).

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/tiesont/Font.Awesome.Packages/issues/5#issuecomment-713141556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBCADOMPGE2ZLIGBMN5JULSLX4ERANCNFSM4SYW3LIQ.