fix(web): fixed baseurl for log downloads (#713)

fix(Logs): fixed baseurl for log downloads
This commit is contained in:
soup 2023-02-13 20:51:20 +01:00 committed by GitHub
parent 088cb8154c
commit da416451e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,7 @@ const LogFilesItem = ({ file }: LogFilesItemProps) => {
"font-medium group flex rounded-md items-center px-2 py-2 text-sm" "font-medium group flex rounded-md items-center px-2 py-2 text-sm"
)} )}
title="Download file" title="Download file"
to={`${baseUrl()}api/logs/files/${file.filename}`} to={`/api/logs/files/${file.filename}`}
target="_blank" target="_blank"
download={true} download={true}
> >