Skip to content

Commit

Permalink
feat: short link
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Nov 27, 2020
1 parent 02b0129 commit 3251c3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/actions/startViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ module.exports = async (jsonPath, webPath = false) => {
console.log(`JSON file: ${url}`);
console.log('');
console.log(`Dev viewer: http://localhost:3000/?url=${url}`);
console.log(`Short link: https://site-audit.viasite.ru/?report=` + url.replace('https://site-audit.viasite.ru/reports/', '').replace('.json', ''));
console.log('');
console.log(`Online viewer: ${onlineViewLink(url)}`);
//console.log(`Public viewer: ${onlineViewLink(url.replace(`http://localhost:${port}`, 'https://3001.home.popstas.ru'))}`);
console.log('');
}

Expand Down

0 comments on commit 3251c3e

Please sign in to comment.