I'm just trying out Nancy for the first time. As it says on the documentation i just have to put my stuff under "Content/*" but no no avail. I get 404 when loading my own "splash.png"
<img src="~/Content/splash.png" /> -- NO
<img src="~/Content/nancy-logo.png" /> -- YES
I'm guessing this is a beginners pitfall but no one seems to talk about, maybe it's not a problem people normally get?
I've double checked my paths like 500 times.
I'm running under Visual Studio with the "Self Hosting and Razor" template project. Plz feel free to ask if u need more information.
Aucun commentaire:
Enregistrer un commentaire