Skip to content

Commit

Permalink
fix(Legacy): Remove admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
danactive committed Jun 19, 2020
1 parent c21b1e0 commit f88de81
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 99 deletions.
162 changes: 66 additions & 96 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"url-loader": "^4.1.0",
"vision": "^5.3.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-cli": "^3.3.12",
"xml2js": "^0.4.23"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions api/server/lib/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const utils = require('../plugins/utils');

utils.env.load();

const libAdmin = require('../plugins/admin/lib');
const viewAlbum = require('../plugins/album/lib');
const editAlbum = require('../plugins/editAlbum/lib');
const libGallery = require('../plugins/gallery/lib');
Expand All @@ -25,7 +24,6 @@ const pkg = require('../../package');
const plugins = [
inert,
vision,
{ plugin: libAdmin, routes: { prefix: '/admin' } },
{ plugin: viewAlbum, routes: { prefix: '/view' } },
{ plugin: editAlbum, routes: { prefix: '/edit' } },
{ plugin: libGallery },
Expand Down

0 comments on commit f88de81

Please sign in to comment.