diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-04-27 11:45:18 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-04-27 11:55:46 +0200 |
commit | cb8ce3160afd963cec6186e535232275d9930b3c (patch) | |
tree | 48acbfcd430f773fabfeef70fea8ffb257fb136e /doc/examples/hydrilla.wsgi | |
parent | f87ae447ba96693b80f450547acd2ff762a8fa85 (diff) | |
download | haketilo-hydrilla-cb8ce3160afd963cec6186e535232275d9930b3c.tar.gz haketilo-hydrilla-cb8ce3160afd963cec6186e535232275d9930b3c.zip |
fix/improve wsgi deployment
Diffstat (limited to 'doc/examples/hydrilla.wsgi')
-rw-r--r-- | doc/examples/hydrilla.wsgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/hydrilla.wsgi b/doc/examples/hydrilla.wsgi index 3455701..70dd895 100644 --- a/doc/examples/hydrilla.wsgi +++ b/doc/examples/hydrilla.wsgi @@ -18,9 +18,10 @@ from hydrilla.server import start_wsgi # The following line will initialize Hydrilla with the default, internal # configuration while also attempting to load /etc/hydrilla/config.json if it's # present. -application = start_wsgi() +application = start_wsgi(standalone_mode=False) # Comment the above and uncomment this to use a different config file. #from hydrilla.server import config -#application = start_wsgi(config.load(['/path/to/config.json'])) +#application = start_wsgi(standalone_mode=False, +# obj=config.load(['/path/to/config.json'])) |