From 017cf265ceb0b028ffecabe8084ceec7d9a2a211 Mon Sep 17 00:00:00 2001 From: icurfer Date: Mon, 13 Oct 2025 14:34:52 +0900 Subject: [PATCH] update ENV --- ansible/services.py | 2 +- ansible_prj/settings.py | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/services.py b/ansible/services.py index fc0d129..30cdc87 100644 --- a/ansible/services.py +++ b/ansible/services.py @@ -8,7 +8,7 @@ from .models import AnsibleTask def get_ssh_key_from_auth_server(access_token: str) -> str: - url = settings.AUTH_VERIFY_URL + "/api/auth/ssh-key/view/" + url = settings.AUTH_APP_URL + "/api/auth/ssh-key/view/" print(url) headers = {"Authorization": f"Bearer {access_token}"} response = requests.get(url, headers=headers) diff --git a/ansible_prj/settings.py b/ansible_prj/settings.py index 0520a0f..c690063 100644 --- a/ansible_prj/settings.py +++ b/ansible_prj/settings.py @@ -102,7 +102,7 @@ LOGGING = { if DEBUG: LOGGING['loggers']['django.db.backends']['level'] = 'DEBUG' -AUTH_VERIFY_URL = os.environ.get('AUTH_VERIFY_URL', 'NONE') +AUTH_APP_URL = os.environ.get('AUTH_APP_URL', 'NONE') ALLOWED_HOSTS = ["*"] diff --git a/version b/version index 8ce995b..a92e827 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.0.3 \ No newline at end of file +v0.0.4 \ No newline at end of file