mirror of
https://github.com/seejohnrun/haste-server
synced 2025-07-16 10:03:45 -07:00
Kick expirations back on view
This commit is contained in:
parent
cd9bf18d29
commit
92e0f579ca
5 changed files with 12 additions and 8 deletions
|
@ -89,7 +89,8 @@ connect.createServer(
|
|||
});
|
||||
// get documents
|
||||
app.get('/documents/:id', function(request, response, next) {
|
||||
return documentHandler.handleGet(request.params.id, response);
|
||||
var skipExpire = !!config.documents[request.params.id];
|
||||
return documentHandler.handleGet(request.params.id, response, skipExpire);
|
||||
});
|
||||
}),
|
||||
// Otherwise, static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue