Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmason3 committed Sep 17, 2023
1 parent 73860de commit 468710c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jinjafx_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ def do_GET(self, head=False, cache=True, versioned=False):
if key == jfx_weblog_key:
if 'key' in qs:
cheaders['Set-Cookie'] = 'jfx_weblog_key=' + key + '; path=/logs'
cheaders['Location'] = '/logs'
if 'raw' in qs:
cheaders['Location'] = '/logs?raw'
else:
cheaders['Location'] = '/logs'
r = [ 'text/plain', 302, '302 Found\r\n'.encode('utf-8'), sys._getframe().f_lineno ]

else:
Expand Down

0 comments on commit 468710c

Please sign in to comment.