mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2025-03-04 06:51:24 +03:00
refactor: add English docstrings to all functions
This commit is contained in:
parent
06ca56f019
commit
cabcccc0fb
4 changed files with 82 additions and 9 deletions
11
main.py
11
main.py
|
@ -1,3 +1,14 @@
|
|||
"""
|
||||
This module defines the main FastAPI application, including route handlers,
|
||||
middleware, static file serving, and error handling.
|
||||
|
||||
Routes:
|
||||
- `/app-ads.txt`: Serves the `app-ads.txt` file.
|
||||
- `/robots.txt`: Serves the `robots.txt` file.
|
||||
- `/wallpaper/today`: Served by the wallpaper router, fetches today's wallpaper.
|
||||
- `/wallpaper/{day}`: Served by the wallpaper router, fetches the wallpaper for a specific day.
|
||||
"""
|
||||
|
||||
import http
|
||||
|
||||
import uvicorn
|
||||
|
|
Loading…
Add table
Reference in a new issue