mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +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):
|
||||
if environ["PATH_INFO"] == "/":
|
||||
return redirect(environ, start_response)
|
||||
if environ["PATH_INFO"] == "/storage.py":
|
||||
if environ["PATH_INFO"] == "/storage":
|
||||
return storage.app(environ, start_response)
|
||||
start_response("404 Not Found", [])
|
||||
return [b"Page not found."]
|
||||
|
||||
Reference in New Issue
Block a user