mv upd cenod

This commit is contained in:
2023-03-17 19:30:03 +01:00
parent 164c7435bd
commit 157bafb820
17 changed files with 46 additions and 571 deletions

View File

@@ -23,7 +23,7 @@ import (
"errors"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/keyauth/v2"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
"regexp"
)

View File

@@ -21,7 +21,7 @@ import (
"fmt"
//"github.com/alecthomas/repr"
"encoding/json"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
bolt "go.etcd.io/bbolt"
"path/filepath"
"time"

View File

@@ -21,7 +21,7 @@ import (
"errors"
"fmt"
"github.com/gofiber/fiber/v2"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
"regexp"
"strconv"
"time"

View File

@@ -20,7 +20,7 @@ package api
import (
"encoding/json"
"fmt"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
//"github.com/alecthomas/repr"
bolt "go.etcd.io/bbolt"
)

View File

@@ -21,7 +21,7 @@ import (
"archive/zip"
"errors"
"github.com/gofiber/fiber/v2"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
"io"
"mime/multipart"
"os"

View File

@@ -21,7 +21,7 @@ import (
//"github.com/alecthomas/repr"
"github.com/gofiber/fiber/v2"
"github.com/google/uuid"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
"os"
"path/filepath"

View File

@@ -26,7 +26,7 @@ import (
"github.com/gofiber/fiber/v2/middleware/requestid"
"github.com/gofiber/fiber/v2/middleware/session"
"github.com/gofiber/keyauth/v2"
"github.com/tlinden/up/upd/cfg"
"github.com/tlinden/cenophane/cfg"
)
// sessions are context specific and can be global savely
@@ -127,7 +127,7 @@ func SetupServer(conf *cfg.Config) *fiber.App {
StrictRouting: true,
Immutable: true,
Prefork: conf.Prefork,
ServerHeader: "upd",
ServerHeader: "Cenophane Server",
AppName: conf.AppName,
BodyLimit: conf.BodyLimit,
Network: conf.Network,