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 | |
|---|---|---|---|
|
|
5980b09f2e |
No files matched your search
@@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.20'
|
go-version: '1.26'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -16,14 +16,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine, fs http.FileSystem) {
|
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{
|
app := fiber.New(fiber.Config{
|
||||||
StreamRequestBody: true,
|
StreamRequestBody: true,
|
||||||
ServerHeader: "Katbox",
|
ServerHeader: "Katbox",
|
||||||
AppName: "Katbox",
|
AppName: "Katbox",
|
||||||
DisableStartupMessage: true,
|
DisableStartupMessage: true,
|
||||||
Views: engine,
|
Views: engine,
|
||||||
Network: "tcp",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// static file server
|
// static file server
|
||||||
|
|||||||
Reference in new issue
Block a user