Merge branch 'ci' of codeberg.org:Midou36O/gothub into ci

このコミットが含まれているのは:
Midou36O 2022-11-30 12:38:36 +01:00
コミット 8af5ef50f0
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 08063D5407090BC2
2個のファイルの変更7行の追加1行の削除

ファイルの表示

@ -1,3 +1,5 @@
# gothub
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