Skip to content

Commit

Permalink
fix swproxy on asia server
Browse files Browse the repository at this point in the history
Server is changed to:

summonerswar-sea.com2us.net
  • Loading branch information
Viper2k4 authored Jun 25, 2016
1 parent d7e0e43 commit 98e18f2
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 98e18f2

Please sign in to comment.