编辑主题缓存时间调整为一天
This commit is contained in:
parent
e7fa160383
commit
ee9bd1ab5a
@ -64,9 +64,9 @@ module.exports = (app) => {
|
|||||||
// Google Drive action receiver
|
// Google Drive action receiver
|
||||||
app.get('/googleDriveAction', (req, res) =>
|
app.get('/googleDriveAction', (req, res) =>
|
||||||
res.redirect(`./app#providerId=googleDrive&state=${encodeURIComponent(req.query.state)}`));
|
res.redirect(`./app#providerId=googleDrive&state=${encodeURIComponent(req.query.state)}`));
|
||||||
// Serve the static folder with 1 year max-age
|
// Serve the static folder with 1 day max-age
|
||||||
app.use('/themes', serveStatic(resolvePath('static/themes'), {
|
app.use('/themes', serveStatic(resolvePath('static/themes'), {
|
||||||
maxAge: '1m',
|
maxAge: '1d',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Serve static resources
|
// Serve static resources
|
||||||
|
Loading…
Reference in New Issue
Block a user