mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-11-24 09:54:22 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63b5f4701f |
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ COPY frontend/ ./
|
||||
RUN pnpm build
|
||||
|
||||
# backend
|
||||
FROM golang:1.20-alpine as backend
|
||||
FROM golang:1.26-alpine as backend
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN rm -rf frontend
|
||||
|
||||
@@ -16,14 +16,12 @@ import (
|
||||
)
|
||||
|
||||
func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine, fs http.FileSystem) {
|
||||
// more Fiber options at https://docs.gofiber.io/api/fiber/
|
||||
app := fiber.New(fiber.Config{
|
||||
StreamRequestBody: true,
|
||||
ServerHeader: "Katbox",
|
||||
AppName: "Katbox",
|
||||
DisableStartupMessage: true,
|
||||
Views: engine,
|
||||
Network: "tcp",
|
||||
})
|
||||
|
||||
// static file server
|
||||
|
||||
Reference in new issue
Block a user