DescriptionCreate a redirecting http server
For 'make prod' and 'make devel', the use of the SimpleHTTPServer fails if a
path not represented on the file server is entered directly into the address
field. This situation occurs if one manually enters a namespace
(e.g. ':gui:') or uses a feature flag.
This branch adds a small wrapper python program that returns '/index.html'
if the path does not exist on the file system. This approach isn't perfect as
you get shunted back to the front page.
https://code.launchpad.net/~bac/juju-gui/httpserver/+merge/166092
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 16
Patch Set 2 : Create a redirecting http server #
Total comments: 1
Patch Set 3 : Create a redirecting http server #
MessagesTotal messages: 5
|