Moved config and finished JWT module

This commit is contained in:
2025-02-10 22:10:03 +11:00
parent 04049bb73a
commit e73805a02d
13 changed files with 237 additions and 69 deletions

View File

@@ -4,6 +4,7 @@ import (
"database/sql"
"net/http"
"projectreshoot/config"
"projectreshoot/handlers"
"projectreshoot/view/page"
@@ -14,7 +15,7 @@ import (
func addRoutes(
mux *http.ServeMux,
logger *zerolog.Logger,
config *Config,
config *config.Config,
conn *sql.DB,
) {
// Static files