fix (core.gbapp): Download folder on server azure.
This commit is contained in:
parent
214a6472ef
commit
f8af6c4bd5
2 changed files with 2 additions and 2 deletions
|
@ -525,7 +525,7 @@ export class GBDeployer implements IGBDeployer {
|
|||
// Download files or navigate to directory to recurse.
|
||||
|
||||
await CollectionUtil.asyncForEach(documents, async item => {
|
||||
const itemPath = packagePath.join(localPath, remotePath, item.name);
|
||||
const itemPath = path.join(localPath, remotePath, item.name);
|
||||
|
||||
if (item.folder) {
|
||||
if (!(await GBUtil.exists(itemPath))) {
|
||||
|
|
|
@ -336,7 +336,7 @@ export class GBSSR {
|
|||
packagePath = GBServer.globals.wwwroot + "/index.html"; // TODO.
|
||||
}
|
||||
if (!min && !url.startsWith("/static") && GBServer.globals.wwwroot) {
|
||||
packagePath = packagePath.join(GBServer.globals.wwwroot, url);
|
||||
packagePath = path.join(GBServer.globals.wwwroot, url);
|
||||
}
|
||||
if (await GBUtil.exists(packagePath)) {
|
||||
if (min) {
|
||||
|
|
Loading…
Add table
Reference in a new issue