Skip to content

Commit

Permalink
target list include protocol dan port
Browse files Browse the repository at this point in the history
  • Loading branch information
kucingbasah737 committed Nov 25, 2023
1 parent 235ab3f commit 87b3f96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cmd/target-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

const prompt = require('prompt');

const HOSTNAME_PROTOCOL = process.env.HOSTNAME_PROTOCOL || 'https';
const HOSTNAME_PORT = process.env.HOSTNAME_PORT || '';

module.exports = async () => {
// eslint-disable-next-line global-require
const getTargetList = require('../get-target-list');
Expand Down Expand Up @@ -37,7 +40,7 @@ module.exports = async () => {
result.forEach((item) => {
console.log([
'-',
item.full_url,
`${HOSTNAME_PROTOCOL}://${item.full_url}${HOSTNAME_PORT}`,
item.target_url,
item.user_email,
item.created,
Expand Down

0 comments on commit 87b3f96

Please sign in to comment.