Skip to content

Commit

Permalink
Iridium now opens immediately:tm:
Browse files Browse the repository at this point in the history
  • Loading branch information
memetrollsXD committed Feb 13, 2022
1 parent ab4b228 commit 8a661f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ const fs = require('fs');
const httpDispatch = require('./backend/http-dispatch');
const frontend = require('./backend/frontend-server');
const sniffer = require('./backend/sniffer');
const { exec } = require('child_process');

if(process.argv[2] == 'main') {
sniffer.execute();
httpDispatch.execute();
frontend.execute();
exec('start http://localhost:1984/index.html');

if (!fs.existsSync('captures')) {
fs.mkdirSync('captures', {
Expand Down

1 comment on commit 8a661f0

@TheLostTree
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what a great feature

Please sign in to comment.