Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into spotify-oauth-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkim218 committed Sep 19, 2024
2 parents 540e431 + 09b17a6 commit 5cfb658
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@

## Description
<!--- Describe your changes in detail -->
[Link to Ticket](insert the link to your ticket inside the parenthesis here)

## Issue
<!--- Link your ticket here -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->

## Checklist:
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] Some tests are included that test my code

## Screenshots:
<!--- If working on a backend ticket, screenshots or a walkthrough of successful API calls are included. -->
<!--- If working on a frontend ticket, screenshots/recording of new screens or functionality are included. -->
3 changes: 3 additions & 0 deletions backend/internal/service/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
go_json "github.com/goccy/go-json"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/compress"
"github.com/gofiber/fiber/v2/middleware/favicon"
"github.com/gofiber/fiber/v2/middleware/logger"
"github.com/gofiber/fiber/v2/middleware/recover"
"github.com/gofiber/fiber/v2/middleware/requestid"
Expand Down Expand Up @@ -68,6 +69,8 @@ func setupApp() *fiber.App {
app.Use(logger.New(logger.Config{
Format: "[${time}] ${ip}:${port} ${pid} ${locals:requestid} ${status} - ${latency} ${method} ${path}\n",
}))
app.Use(favicon.New())

app.Use(compress.New(compress.Config{
Level: compress.LevelBestSpeed,
}))
Expand Down

0 comments on commit 5cfb658

Please sign in to comment.