Skip to content
Snippets Groups Projects
Commit 4cd9dd9c authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Automatically inject 'webstart' command if no argument is given

parent b7894dfc
Branches
Tags
No related merge requests found
...@@ -22,6 +22,11 @@ module.exports = { ...@@ -22,6 +22,11 @@ module.exports = {
* SPECIALISATION * SPECIALISATION
***************************************/ ***************************************/
// Inject 'webstart' command if no argument was given
if (process.argv.length === 2) {
process.argv.push('webstart');
}
const app = express(); const app = express();
const HOTE = 'localhost'; const HOTE = 'localhost';
const PORT = 9220; const PORT = 9220;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment