Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -40,10 +40,10 @@ app = FastAPI( | ... | @@ -40,10 +40,10 @@ app = FastAPI( |
| 40 | CacheMiddleware, | 40 | CacheMiddleware, |
| 41 | cache=cache.cache, | 41 | cache=cache.cache, |
| 42 | rules=[ | 42 | rules=[ |
| 43 | - Rule(match=re.compile(r"^/api/_metrics/.*"), ttl=0), | 43 | + Rule(match=re.compile(r"^/prespuesto/api/_metrics/.*"), ttl=0), |
| 44 | - Rule(match=re.compile(r"^/api/search/.*"), ttl=0), | 44 | + Rule(match=re.compile(r"^/prespuesto/api/search/.*"), ttl=0), |
| 45 | - Rule(match=re.compile(r"^/api/programa_proyecto/.*"), ttl=0), | 45 | + Rule(match=re.compile(r"^/prespuesto/api/programa_proyecto/.*"), ttl=0), |
| 46 | - Rule(match=re.compile(r'^/api/.+'), ttl=86400, status=200), | 46 | + Rule(match=re.compile(r'^/prespuesto/api/.+'), ttl=86400, status=200), |
| 47 | ], | 47 | ], |
| 48 | ), | 48 | ), |
| 49 | ], | 49 | ], | ... | ... |
-
Please register or login to post a comment