minor cleanups
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"dev": "nodemon server.js",
|
||||
"dev": "./node_modules/nodemon/bin/nodemon.js server.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
</ul>
|
||||
</article>
|
||||
<footer>
|
||||
Source code @ <a href="https://github.com/chmllr/NoteHub">GitHub</a>
|
||||
<a href="https://github.com/chmllr/NoteHub">source code</a> ·
|
||||
<a href="/TOS">terms of service</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -10,6 +10,7 @@ var blackList;
|
||||
var app = express();
|
||||
|
||||
app.use(bodyParser.urlencoded({ extended: true }));
|
||||
app.use(express.static(__dirname + '/resources/public'));
|
||||
|
||||
var MODELS = {};
|
||||
var CACHE = new LRU({
|
||||
@@ -28,8 +29,6 @@ var getTimeStamp = () => {
|
||||
return (timestamp).toString(16)
|
||||
}
|
||||
|
||||
app.use(express.static(__dirname + '/resources/public'));
|
||||
|
||||
var log = function() {
|
||||
var date = new Date();
|
||||
var timestamp = date.getDate() + "/" + date.getMonth() + " " + date.getHours() + ":" +
|
||||
|
||||
Reference in New Issue
Block a user