diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 21:53:07 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 21:53:07 +0900 |
| commit | fecec43b8d54581e7f0f60f0d8fdc43abbb54d47 (patch) | |
| tree | 4150f0270ebf8c236c7f67967d7bad7ca4e26e95 /worker | |
| parent | b80e2cd128ad90d9fbd9367ab95d5a1883456a8a (diff) | |
| download | iosdc-japan-2024-albatross-fecec43b8d54581e7f0f60f0d8fdc43abbb54d47.tar.gz iosdc-japan-2024-albatross-fecec43b8d54581e7f0f60f0d8fdc43abbb54d47.tar.zst iosdc-japan-2024-albatross-fecec43b8d54581e7f0f60f0d8fdc43abbb54d47.zip | |
feat(worker): temporarily disable authentication
Diffstat (limited to 'worker')
| -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) |
