Skip to content

Commit

Permalink
Can we set static path?
Browse files Browse the repository at this point in the history
  • Loading branch information
psychemedia authored Feb 2, 2019
1 parent 9d5d105 commit 635964b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbdatasette.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def setup_datasette():
dbpath = os.path.join(os.environ['HOME'], 'dakar_sql.sqlite')
return {
'command': ['datasette', 'serve', '-p', '{port}', dbpath],
'command': ['datasette', 'serve', '-p', '{port}', '--static', 'static:{base_url}', dbpath],
'absolute_url': True,
#The following needs a the labextension installing.
#eg in postBuild: jupyter labextension install jupyterlab-server-proxy
Expand Down

0 comments on commit 635964b

Please sign in to comment.