diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 22:01:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 22:01:08 +0900 |
| commit | dff6cfdc04fb7c93f74a53787539702cf6b982a9 (patch) | |
| tree | bdb238c530826b6545f7208b0e4bb75051ebb446 /worker/main.go | |
| parent | b0ff29a3c88bd3014cc966c619683c8d7e33d703 (diff) | |
| parent | a5eaed753368a1fa701a0503dcb6522e19ccbcb0 (diff) | |
| download | phperkaigi-2025-albatross-dff6cfdc04fb7c93f74a53787539702cf6b982a9.tar.gz phperkaigi-2025-albatross-dff6cfdc04fb7c93f74a53787539702cf6b982a9.tar.zst phperkaigi-2025-albatross-dff6cfdc04fb7c93f74a53787539702cf6b982a9.zip | |
Merge branch 'fix/multiplayer'
Diffstat (limited to 'worker/main.go')
| -rw-r--r-- | worker/main.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/worker/main.go b/worker/main.go index 8134a56..51c0eb1 100644 --- a/worker/main.go +++ b/worker/main.go @@ -4,7 +4,7 @@ import ( "log" "net/http" - echojwt "github.com/labstack/echo-jwt/v4" + // echojwt "github.com/labstack/echo-jwt/v4" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" ) @@ -19,9 +19,10 @@ func main() { e.Use(middleware.Logger()) e.Use(middleware.Recover()) - e.Use(echojwt.WithConfig(echojwt.Config{ - SigningKey: []byte("TODO"), - })) + // TODO: temporarily disabled + // e.Use(echojwt.WithConfig(echojwt.Config{ + // SigningKey: []byte("TODO"), + // })) e.POST("/api/swiftc", handleSwiftCompile) e.POST("/api/wasmc", handleWasmCompile) |
