You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the same folder I have "public" directory with "index.html" file inside.
If I make "http://localhost:8080/index.html" request, I got "404 page not found"
any idea why ?
The text was updated successfully, but these errors were encountered:
Have you tried "./public" and made sure that your "public" directory is in the same directory as your main file? I ask because I made the mistake of having my main.go in a "bin/" directory and couldn't understand why static wasn't working. Obviously, I needed to ask for "../public" in that case.
Hello,
I've created simple application:
in the same folder I have "public" directory with "index.html" file inside.
If I make "http://localhost:8080/index.html" request, I got "404 page not found"
any idea why ?
The text was updated successfully, but these errors were encountered: