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

Custom API Console URL #1325

Closed
gregorskii opened this issue Oct 2, 2019 · 2 comments
Closed

Custom API Console URL #1325

gregorskii opened this issue Oct 2, 2019 · 2 comments

Comments

@gregorskii
Copy link

Hi there,

The API Console appears to use the app.serverURL to make requests from the client:

https://github.com/parse-community/parse-dashboard/blob/master/src/dashboard/Data/ApiConsole/request.js

I think this may be causing issues when running the dashboard in Docker.

Docker reports from the CLI side that it cannot connect to the serverURL at start:

WARNING, Unable to connect to 'http://localhost:9080/api'. Cloud code and push notifications may be unavailable!

If the serverURL is a host specific URL which is used by the console in the browser to make requests.

Is there a difference between the way parse makes requests on the node side versus the dashboard side?

Thanks for any help.

@davimacedo
Copy link
Member

Your problem is not so clear to me. This log is actually written by Parse Server (not Parse Dashboard). Can you please share how you are initializing both Parse Server and Parse Dashboard?

@gregorskii
Copy link
Author

Ya I think I was misunderstanding how the dashboard runs. It does not run in node other than serving it to the client.

Thanks.

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