upgrade go

This commit is contained in:
lnino
2024-04-10 20:02:31 +02:00
parent 6bd52e7c6e
commit 5b769bcda7
6 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
package controller
import (
infini "infini/functions"
hub "hub/functions"
"net/http"
"text/template"
)
@@ -9,7 +9,7 @@ import (
func TestPage(w http.ResponseWriter, r *http.Request) {
if r.URL.Path != "/test" { // met l'url de la page
infini.NotFound(w, r) // si l'url n'est pas bonne, renvoie sur la page d'erreur 404
hub.NotFound(w, r) // si l'url n'est pas bonne, renvoie sur la page d'erreur 404
return
}