Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
grond
Commits
d3e359fd
Commit
d3e359fd
authored
Feb 27, 2017
by
marius
Browse files
wip
parent
a7dafc69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/baraddur/server.py
View file @
d3e359fd
...
...
@@ -6,7 +6,7 @@ import numpy as num
from
collections
import
OrderedDict
from
pyrocko.guts
import
Object
,
Bool
,
String
# noqa
from
pyrocko.guts
import
Object
,
Bool
,
String
,
Int
from
tornado.web
import
RequestHandler
,
StaticFileHandler
from
tornado
import
gen
...
...
@@ -185,6 +185,9 @@ class BaraddurConfig(Object):
debug
=
Bool
.
T
(
default
=
True
,
optional
=
True
)
port
=
Int
.
T
(
default
=
8080
,
optional
=
True
)
@
property
def
problem
(
self
):
...
...
@@ -200,7 +203,7 @@ class Baraddur(BokehServer):
self
.
get_bokeh_apps
(),
io_loop
=
tornado
.
ioloop
.
IOLoop
.
current
(),
extra_patterns
=
self
.
get_tornado_handlers
(),
hosts
=
'
0.0.0.0
'
)
hosts
=
'
*.*.*.*
'
)
tornado_app
=
self
.
_tornado
tornado_app
.
listen
(
8080
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment