diff --git a/back/kakao.py b/back/kakao.py index 07ed33e..54c0892 100644 --- a/back/kakao.py +++ b/back/kakao.py @@ -1,7 +1,7 @@ import secrets from typing import Optional -from config import CLIENT_ID, CLIENT_SECRET, OUTSIDE_IP, PORT, STREAMLIT_PORT +from config import CLIENT_ID, CLIENT_SECRET, OUTSIDE_IP, PORT from fastapi import APIRouter, Depends, Header, HTTPException, status from fastapi.responses import RedirectResponse from fastapi_oauth_client import OAuthClient diff --git a/config.py b/config.py index 13c8fa3..7e688aa 100644 --- a/config.py +++ b/config.py @@ -33,14 +33,8 @@ def get_private_ip(): INSIDE_IP = get_private_ip() OUTSIDE_IP = get_public_ip() -REST_API_KEY = cfg["Kakaologin"]["REST_API_KEY"] -REDIRECT_URI = f"http://{OUTSIDE_IP}:{cfg['PORT']}/auth" - -PORT = cfg["PORT"] -STREAMLIT_PORT = cfg["STREAMLIT"]["PORT"] - -KEY_FILE = cfg["SSL"]["KEY_FILE"] -CERT_FILE = cfg["SSL"]["CERT_FILE"] +PORT = 8001 +STREAMLIT_PORT = 8501 CLIENT_ID = cfg["CLIENT_ID"] CLIENT_SECRET = cfg["CLIENT_SECRET"]