diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-11 00:21:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-11 00:21:09 +0900 |
| commit | fb874d681b19963897bdc54b99d4355f4c45f66f (patch) | |
| tree | 841e8aa4741b33b573fba6d4cf8dfad8395e84f7 /backend | |
| parent | dfab679672146d60fdbffab7a97d9a9fc6ed58b3 (diff) | |
| download | phperkaigi-2025-albatross-fb874d681b19963897bdc54b99d4355f4c45f66f.tar.gz phperkaigi-2025-albatross-fb874d681b19963897bdc54b99d4355f4c45f66f.tar.zst phperkaigi-2025-albatross-fb874d681b19963897bdc54b99d4355f4c45f66f.zip | |
refactor(backend): remove unnecessary comments
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/main.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/main.go b/backend/main.go index 3df5d83..6e95ae1 100644 --- a/backend/main.go +++ b/backend/main.go @@ -75,8 +75,6 @@ func main() { adminHandler.RegisterHandlers(adminGroup) if config.isLocal { - // For local dev: This is never used in production because the reverse - // proxy directly handles /files. filesGroup := e.Group("/phperkaigi/2025/code-battle/files") filesGroup.Use(middleware.StaticWithConfig(middleware.StaticConfig{ Root: "/", @@ -84,8 +82,6 @@ func main() { IgnoreBase: true, })) - // For local dev: This is never used in production because the reverse - // proxy sends these paths to the app server. e.GET("/phperkaigi/2025/code-battle/*", func(c echo.Context) error { return c.Redirect(http.StatusPermanentRedirect, "http://localhost:5173"+c.Request().URL.Path) }) |
