Browse Source

default local server address in sdk html files

pull/123/head
notgiven688 3 years ago
parent
commit
199a3fd3f5
2 changed files with 5 additions and 3 deletions
  1. +3
    -2
      SDK/miner_compressed/mine.html
  2. +2
    -1
      SDK/miner_raw/mine.html

+ 3
- 2
SDK/miner_compressed/mine.html View File

@ -20,8 +20,9 @@
function start() {
document.getElementById("startb").disabled = true; // disable button
/* start mining */
/* start mining, use a local server */
server = "ws://localhost:8181";
startMining("moneroocean.stream",
"422QQNhnhX8hmMEkF3TWePWSvKm6DiV7sS3Za2dXrynsJ1w8U6AzwjEdnewdhmP3CDaqvaS6BjEjGMK9mnumtufvLmz5HJi");

+ 2
- 1
SDK/miner_raw/mine.html View File

@ -21,7 +21,8 @@
document.getElementById("startb").disabled = true; // disable button
/* start mining */
/* start mining, use a local server */
server = "ws://localhost:8181";
startMining("moneroocean.stream",
"422QQNhnhX8hmMEkF3TWePWSvKm6DiV7sS3Za2dXrynsJ1w8U6AzwjEdnewdhmP3CDaqvaS6BjEjGMK9mnumtufvLmz5HJi");

Loading…
Cancel
Save