From 6b987fba44cfd685814f8fbc75a13a882ee185f2 Mon Sep 17 00:00:00 2001 From: tanshu Date: Sat, 30 May 2020 02:18:19 +0530 Subject: [PATCH] added new line at the end and updated the proxy to proxt all the endpoints needed to the backend --- overlord/proxy.conf.json | 22 +++++++++++++++++++++- requirements.txt | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/overlord/proxy.conf.json b/overlord/proxy.conf.json index 3f3209c2..acaeaeac 100644 --- a/overlord/proxy.conf.json +++ b/overlord/proxy.conf.json @@ -1,7 +1,27 @@ { "/api": { - "target": "http://localhost:6543", + "target": "http://localhost:9998", "secure": false, "logLevel": "debug" + }, + "/token": { + "target": "http://localhost:9998", + "secure": false, + "logLevel": "info" + }, + "/refresh": { + "target": "http://localhost:9998", + "secure": false, + "logLevel": "info" + }, + "/attendance-report": { + "target": "http://localhost:9998", + "secure": false, + "logLevel": "info" + }, + "/db-image": { + "target": "http://localhost:9998", + "secure": false, + "logLevel": "info" } } diff --git a/requirements.txt b/requirements.txt index 9b9bdcad..51ddd033 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,4 @@ sqlalchemy python-multipart pyjwt alembic -itsdangerous \ No newline at end of file +itsdangerous