Skip to content

Commit

Permalink
Backport PR #13788: Fix preferred_dir for examples (#13806)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Jan 19, 2023
1 parent 855adfe commit 223ef2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/example_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ class App(mod.ExampleApp):
name = __name__
open_browser = False

serverapp_config = {"base_url": "/foo/", "root_dir": osp.abspath(example_dir)}
serverapp_config = {
"base_url": "/foo/",
"root_dir": osp.abspath(example_dir),
"preferred_dir": osp.abspath(example_dir),
}
ip = "127.0.0.1"

def initialize_settings(self):
Expand Down

0 comments on commit 223ef2a

Please sign in to comment.