fix salmon URL route

mastodon
Ryan Barrett 2017-08-27 12:20:59 -07:00
rodzic bbf8839822
commit 90c1a60688
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -70,6 +70,10 @@ handlers:
script: activitypub.app
secure: always
- url: /[^/]+/salmon/?
script: salmon.app
secure: always
- url: /(acct:)?@[^/]+/?
script: webfinger.app
secure: always

Wyświetl plik

@ -81,5 +81,5 @@ class SlapHandler(webapp2.RequestHandler):
app = webapp2.WSGIApplication([
(r'/(?:acct)?@%s/salmon' % common.DOMAIN_RE, SlapHandler),
(r'/(?:acct:)?@%s/salmon' % common.DOMAIN_RE, SlapHandler),
], debug=appengine_config.DEBUG)