mirror of
https://github.com/dap-ps/discover.git
synced 2025-01-31 03:26:13 +00:00
set max-age for statuc files to 1 month
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f21768eee7
commit
646abbd950
@ -23,7 +23,10 @@ async function setupAPI() {
|
||||
|
||||
setupPostRoutedAppMiddlewares(app);
|
||||
|
||||
app.use(express.static(path.join(__dirname, '/frontend')));
|
||||
app.use(express.static(
|
||||
path.join(__dirname, '/frontend'),
|
||||
{ maxAge: '30 days' }
|
||||
));
|
||||
|
||||
/* Handles any requests that don't match the ones above */
|
||||
app.get('*', (req,res) =>{
|
||||
|
Loading…
x
Reference in New Issue
Block a user