Ko-fi button

This commit is contained in:
cmdr2
2022-09-05 18:03:19 +05:30
parent 1eb420bcda
commit ec49c96219
3 changed files with 10 additions and 1 deletions

View File

@ -104,6 +104,10 @@ async def image(req : ImageRequest):
def read_ding():
return FileResponse(os.path.join(SD_UI_DIR, 'media/ding.mp3'))
@app.get('/media/kofi.png')
def read_modifiers():
return FileResponse(os.path.join(SD_UI_DIR, 'media/kofi.png'))
@app.get('/modifiers.json')
def read_modifiers():
return FileResponse(os.path.join(SD_UI_DIR, 'modifiers.json'))