diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-13 12:42:43 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-13 12:42:43 -0400 |
| commit | 741bb035e10a1d89dfaa60ab79d25a63d2ff4726 (patch) | |
| tree | 77025eb74b619a7b2e231878457d7fc6e25b8f92 /app/node_modules/okadminview | |
| parent | 74c749554f46192b0d4424fe5371982d1e48f37c (diff) | |
Update hardcoded bug fix admin paths
Diffstat (limited to 'app/node_modules/okadminview')
| -rw-r--r-- | app/node_modules/okadminview/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/node_modules/okadminview/index.js b/app/node_modules/okadminview/index.js index ac633e8..2f31e1e 100644 --- a/app/node_modules/okadminview/index.js +++ b/app/node_modules/okadminview/index.js @@ -116,8 +116,8 @@ function OKAdminView(options) { // This should really be mounted on the router, but can't be due to // https://github.com/jaredhanson/passport-http/pull/16 - app.use('/_admin/', passport.initialize()); - app.all('/_admin/:path*', auth); + app.use('/admin/', passport.initialize()); + app.all('/admin/:path*', auth); router.get('/', function readIndex(req, res, next) { fetchIndexTemplateData(meta, indexQueries).then(function(data) { |
