Miningcore.WebUI icon indicating copy to clipboard operation
Miningcore.WebUI copied to clipboard

An API Fix

Open TimyIsCool opened this issue 2 years ago • 1 comments

Change

var API = WebURL + "http:/ip:4000/api/";

to

var API = "http://ip:port/api/";

TimyIsCool avatar Apr 11 '22 22:04 TimyIsCool

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/

minershaven avatar Jul 04 '22 11:07 minershaven