1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

one more splash

This commit is contained in:
George Hunt 2019-12-22 19:51:29 +00:00
parent 4ff8d9198b
commit 10289e0a0f

View file

@ -348,7 +348,7 @@ def put_204(environ, start_response):
def put_302(environ, start_response): def put_302(environ, start_response):
status = '302 Moved Temporarily' status = '302 Moved Temporarily'
response_body = b'' response_body = b''
location = "http://" + fully_qualified_domain_name + "/home" location = "http://" + fully_qualified_domain_name + '{{ captiveportal_splash_page }}'
response_headers = [('Content-type','text/html'), response_headers = [('Content-type','text/html'),
('Location',location), ('Location',location),
('Content-Length',str(len(response_body)))] ('Content-Length',str(len(response_body)))]