mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-16 20:20:58 +01:00
mv upd cenod
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user