aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-16 12:31:56 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-16 12:31:56 +0100
commit664ce3e6369b3ae306735f55aa2ac66a8d8654d9 (patch)
tree3934dc42e4bdb48f12b56c7b36e79735d22c55f8 /api
parentd2c2cc62a4c2e1ac10f8434bea7bb834da820869 (diff)
backend proxy werkt :tada:
Diffstat (limited to 'api')
-rw-r--r--api/main.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/api/main.py b/api/main.py
index f5907cc..0d16cbc 100644
--- a/api/main.py
+++ b/api/main.py
@@ -15,9 +15,9 @@ from auth.signup import signup
from auth.login import login
from auth.login_token import token
-app.register_blueprint(status, url_prefix='/api')
-app.register_blueprint(info, url_prefix='/api/user')
-app.register_blueprint(signup, url_prefix='/api/auth')
-app.register_blueprint(login, url_prefix='/api/auth')
-app.register_blueprint(token, url_prefix='/api/auth')
+app.register_blueprint(status, url_prefix='/')
+app.register_blueprint(info, url_prefix='/user')
+app.register_blueprint(signup, url_prefix='/auth')
+app.register_blueprint(login, url_prefix='/auth')
+app.register_blueprint(token, url_prefix='/auth')