Skip to content

Commit 5b03d11

Browse files
committed
Remove legacy mapload endpoint, not necessary
1 parent 6524daa commit 5b03d11

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

cloudbox.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ func main() {
9797
http.HandleFunc("POST toyboxapi.garrysmod.com/publishsave_001/", publishsave.Publish) // v106 - v108
9898
http.HandleFunc("POST toyboxapi.garrysmod.com/publishsave_002/", publishsave.Publish) // v109 - v142
9999

100-
// mapload (legacy)
101-
http.HandleFunc("GET toyboxapi.garrysmod.com/mapload_001/", stats.MapLoad) // v98 - v101
102-
103100
err = http.ListenAndServe(fmt.Sprintf(":%d", *port), nil)
104101
if err != nil {
105102
log.Fatalf("error while serving: %s", err)

0 commit comments

Comments
 (0)