Skip to content

Commit

Permalink
Merge pull request #119 from Viper2k4/patch-1
Browse files Browse the repository at this point in the history
fix swproxy on asia server
  • Loading branch information
fperegrinvs authored Jun 25, 2016
2 parents d7e0e43 + c5d4b01 commit 540ee20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):

def onRequest(self, proxy, host, port, request):
try:
if host.startswith('summonerswar') and host.endswith('qpyou.cn') and request.url.path.startswith('/api/'):
if host.startswith('summonerswar') and (host.endswith('qpyou.cn') or host.endswith('com2us.net')) and request.url.path.startswith('/api/'):
self.request = request # if we care about this api call, store request for decryption later
except AttributeError:
pass
Expand Down

0 comments on commit 540ee20

Please sign in to comment.