diff --git a/gallery/easel/route/view/weather/route.py b/gallery/easel/route/view/weather/route.py index fdc2cab..3130898 100644 --- a/gallery/easel/route/view/weather/route.py +++ b/gallery/easel/route/view/weather/route.py @@ -68,6 +68,12 @@ async def get_weather_days(request: AppRequest, weather_api: WeatherApiDepends, return build_weather_response(request, response) +# TODO: tag mode route deprecated, used in tizen app +@router.get("/{provider}/{location}/tag/days-{days}", response_class=RedirectResponse) +async def get_tag_days(days: int): + return RedirectResponse(f"../days/{days}") + + # TODO: tag mode route deprecated, used in tizen app @router.get("/{provider}/{location}/{mode:str}/{date}", response_class=HTMLResponse) async def get_weather_day(