调整目录结构

This commit is contained in:
zhbaor 2021-11-02 02:37:09 +08:00
parent 6de7a8bae7
commit b6a73cdd38
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"categories": [
{
"name": "Computer",
"name": "computer",
"files": ["modern-full-stack.pdf", "gdb.pdf"]
}
]

View file

@ -33,6 +33,7 @@
url_root +
'pdfjs/web/viewer.html?file=' +
url_root +
'categories' +
category.name +
'/' +
file
@ -42,7 +43,7 @@
></a>
</td>
<td class="text-center">
<a :href="`${url_root}${category.name}/${file}`"
<a :href="`${url_root}categories/${category.name}/${file}`"
><i class="bi bi-cloud-download"></i
></a>
</td>