Skip to content

Commit df8d7a2

Browse files
committed
force thumbnail to update
1 parent 7a28964 commit df8d7a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/server/routes/orchestrator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ export default (ctx:Context) => {
536536
let id = parseInt(req.params.id);
537537
if((await ctx.dbc.db("projects").where("id", id)).length === 0) return next();
538538
let filepath = await getThumbnail(ctx, id);
539-
540-
res.status(200).sendFile(filepath, {root: "."});
539+
540+
res.header("Cache-Control", "no-cache, no-store, must-revalidate").status(200).sendFile(filepath, {root: "."});
541541
});
542542

543543
// project files

0 commit comments

Comments
 (0)