我在crafter 3中使用viewerjs库
问题是库使用相对 url 以便像这样工作:
<a href="http://example.org/ViewerJS/#../path/to/filename.ext">
问题是当我在crafter中做同样的事情时,我得到了这个错误:
引起:org.craftercms.core.exception.StoreException:无法找到内容:../data/repos/sites/viewerv2/sandbox/static-assets/viewerJS 不是文件
有没有办法解决这个问题?