git ssb

3+

ev / sdash



Commit e67c359723b2674f987c9d40341928018278c907

compensate for routes with trailing slashes

Ev Bogue committed on 12/31/2016, 9:20:30 PM
Parent: f0fff9a29fab4fc4f8a3ea2b1841500f34bc9175

Files changed

index.jschanged
index.jsView
@@ -38,9 +38,9 @@
3838 )
3939 ).outerHTML)
4040 }
4141 }
42- if (req.url === '/invite') {
42 + if (req.url === '/invite' || '/invite/') {
4343 client(function (err, sbot) {
4444 sbot.invite.create(opts, function (err, invite) {
4545 if(err) throw err
4646 lite = invite

Built with git-ssb-web