Developing, yo

This commit is contained in:
2024-05-13 11:24:16 +01:00
parent ec957b1255
commit 8945e55251
12 changed files with 250 additions and 35 deletions
+15
View File
@@ -0,0 +1,15 @@
package controllers
import (
"net/http"
"thermalFax/views"
)
func EditorPage(w http.ResponseWriter, r *http.Request) {
if !isAuthenticated(r) {
views.LoginPage(w, r)
return
}
views.EditorPage(w, r)
}