Merge pull request #1483 from processing/fullview-caching

[#1234] Add header to clear cache for present view
This commit is contained in:
Cassie Tarakajian 2020-06-29 18:24:49 -04:00 committed by GitHub
commit 305020e71e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
});
});