기타 추가 설정

This commit is contained in:
2026-01-26 03:17:59 +09:00
parent 94db1da045
commit dd6435eb86
2 changed files with 12 additions and 0 deletions

View File

@@ -173,6 +173,13 @@ def regions():
_meta_changed_invalidate_cache()
return load_regions_geojson()
@app.post("/api/travel/reload")
def reload_cache():
"""강제로 캐시를 비워서 새로고침"""
CACHE.clear()
META_MTIME_CACHE.clear()
return {"ok": True, "message": "Cache cleared"}
@app.get("/api/travel/photos")
def photos(