Skip to content

Commit

Permalink
Merge pull request #13 from Huzifa1/master
Browse files Browse the repository at this point in the history
Added special case to replace eth with eth00
  • Loading branch information
deffel authored Sep 4, 2024
2 parents cc76724 + 50d6bf5 commit 2ac8221
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
if (urlParams.has('import')) {
srun_cmd = urlParams.get('import');

// Special case to replace eth with eth00
srun_cmd = srun_cmd.replace(/eth(?!\d{2})/g, 'eth00')

console.log( "hi9" ,srun_cmd);


var get_node_type = "";

if (urlParams.has('node-type') &&
Expand Down

0 comments on commit 2ac8221

Please sign in to comment.