diff --git a/nginx2/html/admin.html b/nginx2/html/admin.html new file mode 100644 index 0000000..4d4dee1 --- /dev/null +++ b/nginx2/html/admin.html @@ -0,0 +1,8 @@ + +
+

DEAR, ADMIN

+
+
+

You have access to restricted contents!

+
+ \ No newline at end of file diff --git a/node/app.js b/node/app.js index 8f3a1cf..c9d5b3b 100755 --- a/node/app.js +++ b/node/app.js @@ -218,7 +218,7 @@ restrictedRoutes.use(function (req, res, next) { // Restricted endpoint restrictedRoutes.get('/access', (req, res) => { - res.status(200).json([{secret:'you can see this message if you have access'}]) + res.status(200).json([{secret:'You have access to restricted contents!'}]) }); // Restricted route root test (KISS)