New repo to host the frontend, it made no sense having it where it was

This commit is contained in:
2024-05-26 21:41:34 +01:00
commit 29175824b4
71 changed files with 12002 additions and 0 deletions
+16
View File
@@ -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)
}