-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Mounting parse dashboard on to a router won't work. #698
Comments
And if you use: app.use('/dashboard', parseDashboard) ? |
That's not the case. |
Not sure when calling app = express() returns a singleton. Also, can you expand on what 'won't work', because I personally would have done:
Also see: https://gist.github.com/flovilmart/6e72ae9a5c61246d21a7465013e64d75 |
Thanks, now I understand better the problem. Btw, I thought |
I would say an express one, or you can probably forward the router on mount call to the dashboard by emitting the mount event back. |
It's seams it's a feature.. But now I know how to solve my problem. Thanks. |
I don't believe there is any need to use a Router unless 100% necessary. |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
You're running version >=1.0.23 of Parse Dashboard.
You're running version >=2.3.2 of Parse Server.
You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Steps to reproduce
The problem:
ParseServer doesn't care where you mount it to.
It allways use app.
I have some idea of how to solve this.. but maybe there is a better one.
Btw, sorry for my bad english.
The text was updated successfully, but these errors were encountered: