diff --git a/package.json b/package.json index dc37a88..3fd9b9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cosmos-server", - "version": "0.3.0-unstable4", + "version": "0.3.0-unstable5", "description": "", "main": "test-server.js", "bugs": { diff --git a/src/httpServer.go b/src/httpServer.go index 4574e12..a7a6896 100644 --- a/src/httpServer.go +++ b/src/httpServer.go @@ -229,7 +229,7 @@ func StartServer() { }, )) srapi.Use(utils.MiddlewareTimeout(20 * time.Second)) - srapi.Use(utils.BlockPostWithoutReferer) + // srapi.Use(utils.BlockPostWithoutReferer) srapi.Use(proxy.BotDetectionMiddleware) srapi.Use(httprate.Limit(60, 1*time.Minute, httprate.WithKeyFuncs(httprate.KeyByIP),