Pārlūkot izejas kodu

Ensure compatibility for /wxcomapp URL with trailing slash

master
6vision pirms 3 mēnešiem
vecāks
revīzija
29490741fd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      channel/wechatcom/wechatcomapp_channel.py

+ 1
- 1
channel/wechatcom/wechatcomapp_channel.py Parādīt failu

@@ -44,7 +44,7 @@ class WechatComAppChannel(ChatChannel):

def startup(self):
# start message listener
urls = ("/wxcomapp", "channel.wechatcom.wechatcomapp_channel.Query")
urls = ("/wxcomapp/?", "channel.wechatcom.wechatcomapp_channel.Query")
app = web.application(urls, globals(), autoreload=False)
port = conf().get("wechatcomapp_port", 9898)
web.httpserver.runsimple(app.wsgifunc(), ("0.0.0.0", port))


Notiek ielāde…
Atcelt
Saglabāt