From 25787fa8c6bad71b77bc6ce022d9e643ab02daa5 Mon Sep 17 00:00:00 2001 From: tanshu Date: Mon, 4 May 2020 12:03:09 +0530 Subject: [PATCH] Cleanup --- .env | 11 +++++++---- bifrost/routers.py | 3 +-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.env b/.env index c82f98e..d0c53e8 100644 --- a/.env +++ b/.env @@ -1,6 +1,9 @@ -DEBUG=true -HOST=0.0.0.0 -PORT=8000 API_URL_BASE=https://api.digitalocean.com/v2 API_TOKEN="" -HTPASSWD=.htpasswd \ No newline at end of file +HTPASSWD=.htpasswd +HOST=0.0.0.0 +PORT=8000 +LOG_LEVEL=info +DEBUG=true + +MODULE_NAME=bifrost.main \ No newline at end of file diff --git a/bifrost/routers.py b/bifrost/routers.py index fd06279..e8cae45 100644 --- a/bifrost/routers.py +++ b/bifrost/routers.py @@ -38,6 +38,5 @@ def update_view( "domain": domain, "name": name, "current_ip": current_ip, - "api_base": settings.api_url_base, - "api_token": settings.api_token, + "username": username }