Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Gabriel Weisse
/
presupuestov1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
pr0nstar
2026-04-21 15:06:12 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a00bab6d2f7f60d4ba22c73fa05ff947e10078f
0a00bab6
1 parent
a84b3549
XVI.I
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
main.py
main.py
View file @
0a00bab
...
...
@@ -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
),
],
),
],
...
...
Please
register
or
login
to post a comment