Reputation: 1520
I have the following code:
svg = $("#rsr").svg({ loadURL: '@Url.Content("~/Content/images/svg_curv.svg")', onLoad: svgLoaded });
This code load svg file (Jquery SVG plugin). On local web server all works fine. But in production web server I get the following error: 404 Not Found
.
The file is exist on server:
Also, it's not found if I open the file via browser (mysite.com/content/images/svg_curv.svg
), but other files in the images
folder is found.
Where is a problem?
Thanks and sorry for my English.
Upvotes: 1
Views: 312
Reputation: 35572
I dont know much about your enviroment. but you need to add/allow svg MIME Type on your webserver
Upvotes: 2