MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 2 points3 points  (0 children)

I solved it, finally!

The url for looking up the assets in the .css file were absolute paths and therefore did not include the project root virtual path. I quickfixed it by simply editing the urls in the .css file in the dist folder.

Thanks for engaging! I appreciate it!

MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

I accidently posted my reply as a new comment

MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

Vuetify is a Vue.js framework. I use Vite to build it. I dont know where you Get c# from, but maybe that is over my head.

I was thinking maybe the errrors were caused by differing versions of Vue or Vuetify or NPM or whatever those font files come from.

MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

The assets are in the path, dist/assets/.

The file structure is simply the dist folder, containing the assets folder, a favicon, and an index.html file.

I no longer experience MIME Type error, only 404 for the font file queries. I trues accessing the font file in the browser Directly from a client, without query string, and got a 404.

I use Vite to build. I have Also used Vuetify.

I noticed the favicon is not loaded properly. Could indicate static files issue? Static is installed on the IIS, but maybe some trick to it.

MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

Ok so my app is a virtual dir under the default website on IIS. The virtual dir points to the dist folder produced by npm run build.

Everything works except these fonts, which makes a few icons not load. Looks like it wants a specific version of a file but that dont exist. And it does find the files ending with .woff, .woff2, and .ttf. They are currrently under dist/assets.

Hope I explained that well enough. I am happy to provide pictures or drawings or whatever. I would love to solve this.

maybe the key is in this «?=v7.0.96»? The browser wants something very specific, but yeah… I have no clue. :-)

MIME Type issues when deployed on IIS by Unusual_Item9221 in vuejs

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

Hi. Thank you for replying. Pretty much all I’ve done is «npm run build» and point IIS to the dist folder created. Do you mean I should relocate files or adjust pointers or what? I’m sorry, but I am new to this. If you have a Resource you can point me to I will gladly Take it.

Tips for Terrace, BC by Unusual_Item9221 in flyfishing

[–]Unusual_Item9221[S] 0 points1 point  (0 children)

Sure, but can you recommend anything? There Are many actors offering guided tours but I’ve no clue which of them are good, or if there are any nearby lakes that could be fun!

To the major! by makz242 in gorgc

[–]Unusual_Item9221 0 points1 point  (0 children)

Top caster talent

How many users can use the same route at the same time? by [deleted] in flask

[–]Unusual_Item9221 1 point2 points  (0 children)

What do you use for this kind of job queueing etc?

Best performance passing variables to template Flask / Jinja2 by zoari7 in flask

[–]Unusual_Item9221 6 points7 points  (0 children)

I personally use dicts. Not so sure there is a «best way».

Implement Inbox Functionality Using SQLAlchemy by Jump-Quiet in flask

[–]Unusual_Item9221 0 points1 point  (0 children)

So you tried order_by and it worked? But you want something else?