update legacy names

This commit is contained in:
Mitsu
2025-07-07 22:14:59 +02:00
parent bdce29a129
commit dc960b3e23
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
"github.com/mizuw/laterna/server/cmd/internal/logger"
"github.com/siestaw/laterna/server/cmd/internal/logger"
)
func ConnectDB() {
+3 -3
View File
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
"github.com/mizuw/laterna/server/cmd/internal/config"
"github.com/mizuw/laterna/server/cmd/internal/logger"
"github.com/siestaw/laterna/server/cmd/internal/config"
"github.com/siestaw/laterna/server/cmd/internal/logger"
)
func StartHTTPServer() {
@@ -18,7 +18,7 @@ func StartHTTPServer() {
http.ListenAndServe(fmt.Sprintf(":%d", port), router)
}
func createToken(w http.ResponseWriter, r *http.Request) {
func createToken(w http.ResponseWriter, r *http.Request) { // temporary, only for testing
authHeader := r.Header.Get("Authorization")
adminToken := config.AppConfig.HTTP.AdminToken
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"os"
"time"
"github.com/mizuw/laterna/server/cmd/internal/config"
"github.com/siestaw/laterna/server/cmd/internal/config"
)
var (