Skip to content
Snippets Groups Projects
Commit f37877c2 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Add cache to /enrollments

parent da23daa7
No related branches found
No related tags found
1 merge request!116Release v1.0.0
...@@ -31,7 +31,7 @@ api.get('/', (req, res) => { ...@@ -31,7 +31,7 @@ api.get('/', (req, res) => {
// mount API routes // mount API routes
api.use('/user', user); api.use('/user', user);
api.use('/simulation', simulation); api.use('/simulation', simulation);
api.use('/enrollment', enrollment); api.use('/enrollment', cache('1 day'), enrollment);
api.use('/state', cache('15 day'), state); api.use('/state', cache('15 day'), state);
api.use('/region', cache('15 day'), region); api.use('/region', cache('15 day'), region);
api.use('/city', cache('15 day'), city); api.use('/city', cache('15 day'), city);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment