mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
Fix main.py redirect. (#3680)
This commit is contained in:
committed by
Neil Fraser
parent
7dad4c48f6
commit
3182b6ec66
@@ -21,7 +21,7 @@ import storage
|
|||||||
def app(environ, start_response):
|
def app(environ, start_response):
|
||||||
if environ["PATH_INFO"] == "/":
|
if environ["PATH_INFO"] == "/":
|
||||||
return redirect(environ, start_response)
|
return redirect(environ, start_response)
|
||||||
if environ["PATH_INFO"] == "/storage.py":
|
if environ["PATH_INFO"] == "/storage":
|
||||||
return storage.app(environ, start_response)
|
return storage.app(environ, start_response)
|
||||||
start_response("404 Not Found", [])
|
start_response("404 Not Found", [])
|
||||||
return [b"Page not found."]
|
return [b"Page not found."]
|
||||||
|
|||||||
Reference in New Issue
Block a user