pr0nstar

XVI.I

Showing 1 changed file with 4 additions and 4 deletions
......@@ -40,10 +40,10 @@ app = FastAPI(
CacheMiddleware,
cache=cache.cache,
rules=[
Rule(match=re.compile(r"^/api/_metrics/.*"), ttl=0),
Rule(match=re.compile(r"^/api/search/.*"), ttl=0),
Rule(match=re.compile(r"^/api/programa_proyecto/.*"), ttl=0),
Rule(match=re.compile(r'^/api/.+'), ttl=86400, status=200),
Rule(match=re.compile(r"^/prespuesto/api/_metrics/.*"), ttl=0),
Rule(match=re.compile(r"^/prespuesto/api/search/.*"), ttl=0),
Rule(match=re.compile(r"^/prespuesto/api/programa_proyecto/.*"), ttl=0),
Rule(match=re.compile(r'^/prespuesto/api/.+'), ttl=86400, status=200),
],
),
],
......