fixes path

This commit is contained in:
buttle 2021-06-20 19:34:18 +02:00
parent ee6a483d40
commit 26836567a9
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -78,7 +78,7 @@ def image(file_path):
current_dir=file_path.replace(file_name, ""), current_dir=file_path.replace(file_name, ""),
name=file_name, name=file_name,
object={'type': 'image', object={'type': 'image',
'url': f"/img{file_path}" 'url': f"/img/{file_path}"
} }
) )