Removed public directory as all front end assets are embedded in the HTML directly
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
13d3c2e77c
commit
acd6728c19
@ -1,3 +0,0 @@
|
||||
# Public
|
||||
|
||||
This directory is publicly accessible from the HTTP server and contains web assets such as images, css and javascript.
|
@ -7,9 +7,6 @@ import (
|
||||
|
||||
func webServer() {
|
||||
|
||||
//Public static files
|
||||
http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("public"))))
|
||||
|
||||
// Page Handlers
|
||||
// Anything that is responsible for the base elements of a viewable web page
|
||||
http.HandleFunc("/", homePageHandler)
|
||||
|
Loading…
Reference in New Issue
Block a user