(name, config)
| 43 | } |
| 44 | |
| 45 | function getAccountUrl (name, config) { |
| 46 | const serverUrl = new URL(config.serverUri) |
| 47 | return `${serverUrl.protocol}//${name}.${serverUrl.host}/` |
| 48 | } |
| 49 | |
| 50 | function isUpdateAllowed (indexFilePath) { |
| 51 | const indexSource = fs.readFileSync(indexFilePath, 'utf-8') |