Skip to content

Commit 975a396

Browse files
save file
1 parent 9c5581a commit 975a396

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@
464464

465465
log.green('installing https-server');
466466

467+
var cwd = shell.cwd();
468+
console.log(cwd);
469+
467470
var mod = await import('https://code.ext-code.com/nodejs/servers/https-server/create-archive.m.js');
468471

469472

@@ -476,6 +479,7 @@
476479
for(var [path,file] of files){
477480

478481
path = path.slice(base.length);
482+
path = cwd+path;
479483
console.log(path,file);
480484
if(path){
481485
if(file.dir){
@@ -490,7 +494,8 @@
490494

491495
}//for
492496

493-
web
497+
await webcontainer.spawn('npm',['i'],{cwd});
498+
494499
log.green('done.');
495500

496501
}//https-server

0 commit comments

Comments
 (0)