Skip to content

Commit

Permalink
Put admin ui at adminPaht rather than /admin (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored and jesstelford committed May 12, 2019
1 parent 94ed17b commit 51a0d85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changeset/65bbae24/changes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "releases": [{ "name": "@keystone-alpha/admin-ui", "type": "patch" }], "dependents": [] }
1 change: 1 addition & 0 deletions .changeset/65bbae24/changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Put the admin UI at `adminPath` rather than `/admin` with prod middleware.
2 changes: 1 addition & 1 deletion packages/admin-ui/server/AdminUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = class AdminUI {
}

const _app = express.Router();
_app.use('/admin', app);
_app.use(this.adminPath, app);
return _app;
}

Expand Down

0 comments on commit 51a0d85

Please sign in to comment.