1.1 --- a/tools/demo.py Sun Jun 10 19:33:16 2007 +0000
1.2 +++ b/tools/demo.py Sun Jun 10 19:33:29 2007 +0000
1.3 @@ -18,8 +18,10 @@
1.4 sys.path.append(base)
1.5 sys.path.append(os.path.join(base, "examples", "Common"))
1.6
1.7 +host = "http://localhost:8080" # or another absolute URL
1.8 +
1.9 import DemoApp
1.10 -resource = DemoApp.get_site()
1.11 +resource = DemoApp.get_site(host)
1.12
1.13 # Try and open the application in a Web browser.
1.14 # The preferred module is Paul's proposed desktop module - see #1301512 in
1.15 @@ -33,7 +35,7 @@
1.16 except ImportError:
1.17 import webbrowser as desktop
1.18
1.19 - desktop.open("http://localhost:8080")
1.20 + desktop.open(host)
1.21
1.22 # Special magic incantation to start the demo.
1.23