Miningcore.WebUI
Miningcore.WebUI copied to clipboard
An API Fix
Change
var API = WebURL + "http:/ip:4000/api/";
to
var API = "http://ip:port/api/";
I never could get it to work this way or how it was explained in the Readme file. The easiest way to make this work is to create a subdomain api.your-domain.com and then goto your nginx config and put in a proxy pass for that subdomain to port 4000. Once you have that setup goto your miningcore.js file and change it to var api = https://api.your-domain.com/