mirror of
https://github.com/Murasame-Dev/McStatus-API.git
synced 2025-12-16 13:17:43 +00:00
chore: add line break in the end.
This commit is contained in:
parent
afb6aa1cdb
commit
9b828135a4
4 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,4 +2,4 @@
|
|||
/__pycache__
|
||||
uv.lock
|
||||
.python-version
|
||||
.vscode/
|
||||
.vscode/
|
||||
|
|
|
|||
2
app.py
2
app.py
|
|
@ -113,4 +113,4 @@ async def get_status_image(ip: str = Query(None, description="服务器IP地址
|
|||
raise HTTPException(status_code=500, detail=str(e))
|
||||
|
||||
if __name__ == '__main__':
|
||||
uvicorn.run("app:app", host="0.0.0.0", port=5000, reload=True)
|
||||
uvicorn.run("app:app", host="0.0.0.0", port=5000, reload=True)
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ BACKGROUND_URL = os.environ.get("BACKGROUND_URL", "https://www.loliapi.com/acg/"
|
|||
DEFAULT_ICON = os.environ.get("DEFAULT_ICON", "mc_status_img/minecraft-creeper-face.png")
|
||||
FONT_PATH = os.environ.get("FONT_PATH", "mc_status_img/MiSans-Bold.ttf")
|
||||
IMAGE_WIDTH = int(os.environ.get("IMAGE_WIDTH", "0"))
|
||||
IMAGE_HEIGHT = int(os.environ.get("IMAGE_HEIGHT", "0"))
|
||||
IMAGE_HEIGHT = int(os.environ.get("IMAGE_HEIGHT", "0"))
|
||||
|
|
|
|||
|
|
@ -142,4 +142,4 @@ async def generate_bedrock_status_image(addr: str):
|
|||
motd_list,
|
||||
font_url,
|
||||
image_size)
|
||||
return image
|
||||
return image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue