fix: wrong file list location
This commit is contained in:
parent
56318f581c
commit
0020eb6528
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export class DocTemplateController extends Controller {
|
||||||
const ret = await edmList("file", DOCUMENT_PATH);
|
const ret = await edmList("file", DOCUMENT_PATH);
|
||||||
if (ret) return ret.map((v) => v.fileName);
|
if (ret) return ret.map((v) => v.fileName);
|
||||||
}
|
}
|
||||||
return await listFile(`doc-template/`);
|
return await listFile(DOCUMENT_PATH.join("/") + "/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Get("{documentTemplate}")
|
@Get("{documentTemplate}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue