From 018ac0466f617fcdb5ad9229f9e1d9b8b6c51719 Mon Sep 17 00:00:00 2001
From: Yabir <yabirgb@gmail.com>
Date: Tue, 10 Jul 2018 13:18:03 +0200
Subject: [PATCH] Comment client until we get to it

---
 settings.py          | 2 --
 src/api/v1/client.py | 3 ++-
 src/main.py          | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
 delete mode 100644 settings.py

diff --git a/settings.py b/settings.py
deleted file mode 100644
index fbfc7e2..0000000
--- 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 8909b5e..161e2c3 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 996a410..fc6c4a5 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
-- 
GitLab