~juju-gui-charmers/charms/trusty/juju-gui/trunk

« back to all changes in this revision

Viewing changes to server/guiserver/apps.py

  • Committer: Francesco Banconi
  • Date: 2015-06-04 17:26:08 UTC
  • mfrom: (60.13.186 develop-trunk)
  • Revision ID: francesco.banconi@canonical.com-20150604172608-7z11fddzae8qgcdg
New charm release with Juju GUI 1.4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                        options.charmworldurl)
45
45
    # Set up handlers.
46
46
    server_handlers = []
47
 
    if not options.sandbox:
 
47
    if options.sandbox:
 
48
        # Sandbox mode.
 
49
        server_handlers.append(
 
50
            (r'^/ws(?:/.*)?$', handlers.SandboxHandler, {}))
 
51
    else:
 
52
        # Real environment.
48
53
        tokens = auth.AuthenticationTokenHandler()
49
54
        websocket_handler_options = {
50
55
            # The Juju API backend url.