Added url for applying for api-tokens

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-04 11:24:44 +01:00
parent 785813b842
commit 76e7001e51
15 changed files with 665 additions and 304 deletions

View File

@@ -12,6 +12,7 @@ var ObjectId = mongojs.ObjectId;
db.collection("chat_logs").createIndex({ "createdAt": 1 }, { expireAfterSeconds: 600 });
db.collection("timeout_api").createIndex({ "createdAt": 1 }, { expireAfterSeconds: 5 });
db.collection("api_links").createIndex({ "createdAt": 1 }, { expireAfterSeconds: 86400 });
db.on('connected', function(err) {
console.log("connected");
})