mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
Merge branch 'master' into ci
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# gothub
|
||||
|
||||
Alternative front-end for GitHub written with Go.
|
||||
Alternative front-end for GitHub written with Go.
|
||||
|
||||
### This project is still in development. ⚠️
|
||||
@@ -38,6 +38,10 @@ func main() {
|
||||
Views: engine,
|
||||
Prefork: true,
|
||||
AppName: "GotHub",
|
||||
// fucked up way to fix rate limits
|
||||
EnableTrustedProxyCheck: true,
|
||||
TrustedProxies: []string{"0.0.0.0/0"},
|
||||
ProxyHeader: fiber.HeaderXForwardedFor,
|
||||
ErrorHandler: func(ctx *fiber.Ctx, err error) error {
|
||||
code := fiber.StatusInternalServerError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user