diff --git a/settings.py b/settings.py deleted file mode 100644 index fbfc7e239d4f9d298347f51966d0b2cf97af666b..0000000000000000000000000000000000000000 --- a/settings.py +++ /dev/null @@ -1,2 +0,0 @@ -ACTIVITYPUB_DOMAIN="localhost:8001" -protocol="http" diff --git a/src/api/v1/client.py b/src/api/v1/client.py index 8909b5e62066b43f947a843d06a24997993c324c..161e2c347b995a7eba49ba7407b6d355197099eb 100644 --- a/src/api/v1/client.py +++ b/src/api/v1/client.py @@ -1,4 +1,5 @@ import falcon +import os class VueClient: auth = { @@ -12,7 +13,7 @@ class VueClient: def on_get(self, req, resp, path): - html = self.load_template('index.html') + html = self._load_template('index.html') resp.status = falcon.HTTP_200 resp.content_type = 'text/html' diff --git a/src/main.py b/src/main.py index 996a4105690cf23d715f7b66d794b8cd36141a3b..fc6c4a503750208999b7c65400034338fda4c8fd 100644 --- a/src/main.py +++ b/src/main.py @@ -82,4 +82,4 @@ app.add_route(urls["atom"], atomFeed()) app.add_route(urls["followers"], Followers()) app.add_route(urls["logout"], logoutUser()) -app.add_route('/{path}', VueClient()) \ No newline at end of file +#app.add_route('/{path}', VueClient()) \ No newline at end of file