mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Moved files, and shortened some
This commit is contained in:
		@@ -7,7 +7,7 @@ try {
 | 
			
		||||
    process.exit();
 | 
			
		||||
}
 | 
			
		||||
var mongojs = require('mongojs');
 | 
			
		||||
var db = mongojs(mongo_config.config);
 | 
			
		||||
var db = mongojs('mongodb://' + mongo_config.host + '/' + mongo_config.config);
 | 
			
		||||
 | 
			
		||||
db.collection("chat_logs").createIndex({ "createdAt": 1 }, { expireAfterSeconds: 600 });
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user