Skip to content

The single app redirect does not keep the root path of the dashboard #1054

Closed
@henrikperrochon

Description

@henrikperrochon
  • 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.

Environment Setup

Parse Dashboard 1.3.0
Parse Server 2.8.4
express 4.16.4
node 10.15.3

Steps to reproduce

const Application = require('express')();
const ParseDashboard = require('parse-dashboard');
const ParseServer = require('parse-server').ParseServer;
Application.use('/parse', new ParseServer ({ ... }));
Application.use('/dashboard', new ParseDashboard ({ ... }));
require('http').createServer(Application).listen(process.env.PORT || '80', () => {
	console.log('Parse Server is at your service.');
});

Then http://localhost/dashboard/apps will redirect to http://localhost/apps/nameOfApp

Any shortcut such as:

http://localhost/apps/nameOfApp/browser/_User => fails
http://localhost/dashboard/apps/nameOfApp/browser/_User => redirects to http://localhost/apps/nameOfApp/browser/_Installation

Thanks for your help

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions