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 85139e7 commit 306c6e1
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 177 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
25 changes: 0 additions & 25 deletions api/server/plugins/admin/components/page.jsx

This file was deleted.

21 changes: 0 additions & 21 deletions api/server/plugins/admin/lib/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions api/server/plugins/admin/test/.eslintrc.js

This file was deleted.

11 changes: 0 additions & 11 deletions api/server/plugins/admin/test/index.spec.js

This file was deleted.

16 changes: 0 additions & 16 deletions api/server/plugins/admin/test/page.jest.jsx

This file was deleted.

Loading

0 comments on commit 306c6e1

Please sign in to comment.