mirror of
https://github.com/Murasame-Dev/McStatus-API.git
synced 2025-12-16 13:17:43 +00:00
feat: image generater support.
This commit is contained in:
parent
099a79fe5f
commit
e9b2033c3e
5 changed files with 133 additions and 347 deletions
7
config.py
Normal file
7
config.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import os
|
||||
|
||||
BACKGROUND_URL = os.environ.get("BACKGROUND_URL", "https://www.loliapi.com/acg/")
|
||||
DEFAULT_ICON = os.environ.get("DEFAULT_ICON", "mcstatus_img/minecraft-creeper-face.png")
|
||||
FONT_PATH = os.environ.get("FONT_PATH", "mcstatus_img/MiSans-Bold.ttf")
|
||||
IMAGE_WIDTH = int(os.environ.get("IMAGE_WIDTH", "0"))
|
||||
IMAGE_HEIGHT = int(os.environ.get("IMAGE_HEIGHT", "0"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue