McStatus-API/config.py
ギリ猫 f6b9b36713
feat: compact pull #4 and delete unusable things. (#6)
* Add module mc-status-img

* delete: more submodule dir

* feat: compact pull #5 and delete unuseable things.

* chore: move the functions and modules to great place.

* add: ignore the .vscode directory

* chore: add line break in the end.

---------

Co-authored-by: quqiOnfree <quqiOnfree@outlook.com>
2025-09-02 22:42:20 +08:00

7 lines
366 B
Python

import os
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"))