@@ -329,7 +329,7 @@ show-config display the client connection parameters
329
329
}
330
330
331
331
// Make sure the version file exists.
332
- await guardFile ( `chain-version.txt` , makeFile => makeFile ( '0.0.0 ' ) ) ;
332
+ await guardFile ( `chain-version.txt` , makeFile => makeFile ( '1 ' ) ) ;
333
333
334
334
// Assign the chain name.
335
335
const networkName = await trimReadFile ( 'network.txt' ) ;
@@ -451,8 +451,8 @@ show-config display the client connection parameters
451
451
452
452
let execline = `npx http-server ./public` ;
453
453
let dwebHost ;
454
- const cert = `${ networkName } .crt` ;
455
- const key = `${ networkName } .key` ;
454
+ const cert = `dweb .crt` ;
455
+ const key = `dweb .key` ;
456
456
if ( ( await exists ( cert ) ) && ( await exists ( key ) ) ) {
457
457
execline += ` --port=443 --ssl` ;
458
458
execline += ` --cert=${ shellEscape ( cert ) } ` ;
@@ -770,7 +770,7 @@ ${chalk.yellow.bold(`ag-setup-solo --netconfig='${dwebHost}/network-config'`)}
770
770
await needDoRun ( [ 'terraform' , 'init' ] ) ;
771
771
}
772
772
await needDoRun ( [ 'terraform' , 'apply' , ...args . slice ( 1 ) ] ) ;
773
- await needDoRun ( [ 'rm' , '-rf ' , PROVISION_DIR ] ) ;
773
+ await needDoRun ( [ 'rm' , '-f ' , ` ${ PROVISION_DIR } /*.stamp` ] ) ;
774
774
break ;
775
775
}
776
776
0 commit comments