mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
got angular routing working - starting on html components
This commit is contained in:
12
testing_files/404.go
Normal file
12
testing_files/404.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// IndexGET displays the home page
|
||||
func PageNotFound(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
http.ServeFile(w, r, "./public/404.html")
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user