Change to local ip on prod.

This commit is contained in:
Alexander 2015-08-19 16:57:07 -04:00
parent c6d182a184
commit f28cf39e61

View file

@ -83,7 +83,7 @@ def executeHttpRequest(url, **extras):
cookie_jar = cookielib.LWPCookieJar() cookie_jar = cookielib.LWPCookieJar()
cookie = urllib2.HTTPCookieProcessor(cookie_jar) cookie = urllib2.HTTPCookieProcessor(cookie_jar)
opener = urllib2.build_opener(cookie) opener = urllib2.build_opener(cookie)
req = urllib2.Request('https://toontownstride.com/api/' + url, data, req = urllib2.Request('http://192.168.1.212/api/' + url, data,
headers={"Content-Type" : "application/x-www-form-urlencoded"}) headers={"Content-Type" : "application/x-www-form-urlencoded"})
req.get_method = lambda: "POST" req.get_method = lambda: "POST"
try: try: