mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-22 00:36:20 +03:00
Удалил print
This commit is contained in:
parent
2caf93e697
commit
71a5f6263f
1 changed files with 0 additions and 1 deletions
|
@ -24,7 +24,6 @@ async def today_wallpaper(request: Request):
|
||||||
@router.get('/wallpaper/{day}', response_class=HTMLResponse)
|
@router.get('/wallpaper/{day}', response_class=HTMLResponse)
|
||||||
async def wallpaper(request: Request, day):
|
async def wallpaper(request: Request, day):
|
||||||
res = requests.get(f'https://api.starlio.space/wallpaper/{day}')
|
res = requests.get(f'https://api.starlio.space/wallpaper/{day}')
|
||||||
print(res)
|
|
||||||
|
|
||||||
if res.status_code != 200:
|
if res.status_code != 200:
|
||||||
return FileResponse('./src/web/html/error/404.html')
|
return FileResponse('./src/web/html/error/404.html')
|
||||||
|
|
Loading…
Add table
Reference in a new issue