feat(realestate): 내부 인증 + naver 워커 targets 엔드포인트 + nginx internal 블록
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EqCYBhvTcdeCTUDX3RhWx9
This commit is contained in:
@@ -29,6 +29,7 @@ from .models import (
|
||||
AnnouncementCreate, AnnouncementUpdate, ProfileUpdate,
|
||||
ListingCriteriaUpdate, SafetyCheckRequest, BudgetRequest,
|
||||
)
|
||||
from .internal_router import router as internal_router
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format="%(asctime)s [%(name)s] %(levelname)s %(message)s")
|
||||
logger = logging.getLogger("realestate-lab")
|
||||
@@ -96,6 +97,7 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
app = FastAPI(lifespan=lifespan)
|
||||
install_access_log(app)
|
||||
app.include_router(internal_router)
|
||||
|
||||
_cors_origins = os.getenv("CORS_ALLOW_ORIGINS", "http://localhost:3007,http://localhost:8080").split(",")
|
||||
app.add_middleware(
|
||||
|
||||
Reference in New Issue
Block a user