Closed roman-khimov closed 6 months ago
gh-push-to-neofs doesn't strip PATH_TO_FILES_DIR from FilePath which leads to uploads using attributes like
--attributes FilePath=fs.neo.org/images/icons/icon5.svg,ContentType=image/svg+xml
while in fact we need
--attributes FilePath=images/icons/icon5.svg,ContentType=image/svg+xml
for the site to work properly.
Depends on https://github.com/nspcc-dev/gh-push-to-neofs/pull/21
gh-push-to-neofs doesn't strip PATH_TO_FILES_DIR from FilePath which leads to uploads using attributes like
--attributes FilePath=fs.neo.org/images/icons/icon5.svg,ContentType=image/svg+xml
while in fact we need
--attributes FilePath=images/icons/icon5.svg,ContentType=image/svg+xml
for the site to work properly.