diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-05 22:03:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-05 22:04:06 +0900 |
| commit | bd2ebe9396475632908b23d8263be70166197dc2 (patch) | |
| tree | 21d2ad6f4e106aaa881d66544c27ccee2a96b970 /worker/swift/main.go | |
| parent | 3022b45715b9aabb6f54e5e19429c6b06abc1afd (diff) | |
| download | iosdc-japan-2025-albatross-bd2ebe9396475632908b23d8263be70166197dc2.tar.gz iosdc-japan-2025-albatross-bd2ebe9396475632908b23d8263be70166197dc2.tar.zst iosdc-japan-2025-albatross-bd2ebe9396475632908b23d8263be70166197dc2.zip | |
feat(worker-swift): compile and run in one request
Diffstat (limited to 'worker/swift/main.go')
| -rw-r--r-- | worker/swift/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/worker/swift/main.go b/worker/swift/main.go index 02a0a6a..21a9464 100644 --- a/worker/swift/main.go +++ b/worker/swift/main.go @@ -18,9 +18,7 @@ func main() { e.Use(middleware.Logger()) e.Use(middleware.Recover()) - e.POST("/api/swiftc", handleSwiftCompile) - e.POST("/api/wasmc", handleWasmCompile) - e.POST("/api/testrun", handleTestRun) + e.POST("/exec", handleExec) if err := e.Start(":80"); err != http.ErrServerClosed { log.Fatal(err) |
