Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An API Fix #9

Open
TimyIsCool opened this issue Apr 11, 2022 · 1 comment
Open

An API Fix #9

TimyIsCool opened this issue Apr 11, 2022 · 1 comment

Comments

@TimyIsCool
Copy link

Change

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

to

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

@minershaven
Copy link

minershaven commented Jul 4, 2022

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants