From 61e0b8e4910051d0dfb4d454817b9f0511ba96ad Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 1 Mar 2016 16:12:55 +0100 Subject: [PATCH] Move admin ui to _admin to avoid less likely conflict --- app.js | 2 +- app/index.html | 19 +++++++++++-------- app/welcome.html | 6 +++--- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app.js b/app.js index 6e602c7..f7a05ee 100755 --- a/app.js +++ b/app.js @@ -35,7 +35,7 @@ router.get('/', function (req, res) { res.status(200).send(ejs.render(fs.readFil app.use(morgan('dev')); app.use(compression()); -app.use('/admin', express.static(__dirname + '/app')); +app.use('/_admin', express.static(__dirname + '/app')); app.use(express.static(path.resolve(__dirname, process.argv[2] || 'files'))); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false, limit: '100mb' })); diff --git a/app/index.html b/app/index.html index ab892f7..cf1f399 100644 --- a/app/index.html +++ b/app/index.html @@ -2,9 +2,9 @@ Cloudron Surfer - - - + + + @@ -125,14 +125,17 @@ +
+ +
- - - - - + + + + + diff --git a/app/welcome.html b/app/welcome.html index b21fbbb..d85c2a0 100644 --- a/app/welcome.html +++ b/app/welcome.html @@ -2,15 +2,15 @@ Cloudron Surfer - - + +
- +

Cloudron Surfer

Upload some files using the commandline tool. -- 2.41.0