diff --git a/stochss/handlers/file_browser.py b/stochss/handlers/file_browser.py index e14996e495..db3b011afa 100644 --- a/stochss/handlers/file_browser.py +++ b/stochss/handlers/file_browser.py @@ -817,7 +817,12 @@ async def get(self): Attributes ---------- ''' - home = "/hub/spawn" if str(self.request.path).startswith("/user") else "stochss/home" + if str(self.request.path).startswith("/user"): + home = self.request.path + home = home.replace('api/example-library','home') + else: + home = "stochss/home" + try: system = StochSSBase(path=".example-library.json") examples = system.load_example_library(home)