mirror of
https://github.com/Findus23/cr-search.git
synced 2024-09-19 15:23:44 +02:00
fix backend path
This commit is contained in:
parent
797214712e
commit
27503390a8
1 changed files with 1 additions and 1 deletions
2
ssr.py
2
ssr.py
|
@ -28,7 +28,7 @@ def draw_image(text: str, description: str, subtitle=None) -> BytesIO:
|
|||
if subtitle:
|
||||
text += "\n" + subtitle
|
||||
width, height = (1200, 600)
|
||||
img = Image.open("./src/assets/background_small.png")
|
||||
img = Image.open("web/src/assets/background_small.png")
|
||||
|
||||
mr_eves = ImageFont.truetype("web/fonts/Mr Eaves/Mr Eaves Small Caps.otf", 50)
|
||||
title_font = ImageFont.truetype("web/fonts/Nodesto Caps Condensed/Nodesto Caps Condensed.otf", 120)
|
||||
|
|
Loading…
Reference in a new issue