-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 Forbidden error occured when loading the fonts folder of the webapp made with Vue.js #61
Comments
Does it have something to do with the internally supported Mimetypes? Is it possible to manually add other mimetypes? For example, those font files are ended with .woff or .woff2 |
I've solved the problem :) |
Thank you so much!! I was just about to say that I added 2 lines in _mimeTypes and now it's working. Wonderful! :-)) |
Hello,
I released a fully new version (v2.0) of my web server here :
github.com/jczic/MicroWebSrv2.
Open source MIT, fully asynchronous, more robust, more fast and more
efficient!
It is delivered with a good documentation.
Thank you for your support and feedback.
… Closed #61 <#61>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#61?email_source=notifications&email_token=AAD2ALBHGGKVIJJHHS6ESZDQCBOBVA5CNFSM4IH5PZWKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSY4GGCQ#event-2520277770>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD2ALBFD5L33K57NCH7HDLQCBOBVANCNFSM4IH5PZWA>
.
--
*Sincèrement,*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using the MicroWebSrv to serve both the back end (rest api) and the front end (made with vue.js). The back end worked fine, but there is some issues with the front end.
The web app packed by Vue.js has 4 folders along with index.html, they are: css, fonts, js, statics. Altough extremely slow when loading the page for the first time, most parts of the page have loaded correctly except for the icons which are fonts. So I took a look at the console, and found some errors, e.g.
GET http://192.168.123.108/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.0509ab09.woff2 net::ERR_ABORTED 403 (Forbidden)
How can I solve this problem? Is there a way to mark this folder as static folder like in Flask?
Thanks,
Kaiyuan
The text was updated successfully, but these errors were encountered: