Skip to content

Commit

Permalink
游戏FLASH的URL中不再出现多余的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
kitakamiooi committed Dec 12, 2015
1 parent bfe19cd commit 8ec3f8a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions handlers/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ async def normal(self, request):
context = {'scheme': request.scheme,
'host': request.host,
'token': token,
'starttime': starttime,
'world_ip': world_ip}
'starttime': starttime}
return aiohttp_jinja2.render_template('normal.html', request, context)
else:
del session['api_token']
Expand Down Expand Up @@ -124,8 +123,7 @@ async def flash(self, request):
context = {'scheme': request.scheme,
'host': request.host,
'token': token,
'starttime': starttime,
'world_ip': world_ip}
'starttime': starttime}
return aiohttp_jinja2.render_template('flash.html', request, context)
else:
del session['api_token']
Expand All @@ -148,8 +146,7 @@ async def poi(self, request):
context = {'scheme': request.scheme,
'host': request.host,
'token': token,
'starttime': starttime,
'world_ip': world_ip}
'starttime': starttime}
return aiohttp_jinja2.render_template('poi.html', request, context)
else:
del session['api_token']
Expand Down

0 comments on commit 8ec3f8a

Please sign in to comment.