New repo to host the frontend, it made no sense having it where it was
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"thermalFax/views"
|
||||
)
|
||||
|
||||
func EditorPage(w http.ResponseWriter, r *http.Request) {
|
||||
authd, _ := isAuthenticated(r)
|
||||
if !authd {
|
||||
views.LoginPage(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
views.EditorPage(w, r)
|
||||
}
|
||||
Reference in New Issue
Block a user