a crazy/stupid way of doing request throttling and making the best use of cloudflare caching.

This commit is contained in:
fiatjaf
2024-09-26 09:58:40 -03:00
parent 68e7ceabc2
commit a252707ab5
2 changed files with 68 additions and 2 deletions

View File

@@ -153,8 +153,10 @@ func main() {
cloudflareBlock(
agentBlock(
loggingMiddleware(
corsM(
relay.ServeHTTP,
queueMiddleware(
corsM(
relay.ServeHTTP,
),
),
),
),