mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Allow automatic updates
This commit is contained in:
parent
f3ea6fe9e7
commit
92f2362452
@ -161,8 +161,8 @@ module.exports = handlers = {
|
||||
html: editPermalink,
|
||||
js: editPermalink,
|
||||
title: utils.titleForBin(bin),
|
||||
allowUpdate: false,
|
||||
checksum: req.streamingKey
|
||||
allowUpdate: !!bin.streamingKey,
|
||||
checksum: bin.streamingKey
|
||||
});
|
||||
} else {
|
||||
res.redirect(303, req.helpers.url(bin.url + '/' + bin.revision + '/edit'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user