[#1234] Add header to clear cache for present view
This commit is contained in:
parent
e7a05069a2
commit
dc01823602
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ export function serveProject(req, res) {
|
|||
resolveScripts(sketchDoc, files);
|
||||
resolveStyles(sketchDoc, files);
|
||||
|
||||
res.setHeader('Cache-Control', 'public, max-age=0');
|
||||
res.send(serializeDocument(sketchDoc));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue