git ssb

30+

cel / git-ssb-web



Commit 81785ac357039921e1de71f1df9e2891178e375c

Fix blob not found error

Charles Lehner committed on 3/30/2016, 10:17:40 PM
Parent: e73d57881b07584706956569ba19f7420a1939ee

Files changed

index.jschanged
index.jsView
@@ -1298,9 +1298,9 @@
12981298 })
12991299 }
13001300
13011301 function serveBlobNotFound(repoId, err) {
1302- return serveTemplate(400, 'Blob not found', pull.values([
1302+ return serveTemplate('Blob not found', 404, pull.values([
13031303 '<h2>Blob not found</h2>',
13041304 '<p>Blob in repo ' + link([repoId]) + ' was not found</p>',
13051305 '<pre>' + escapeHTML(err.stack) + '</pre>'
13061306 ]))

Built with git-ssb-web