-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
39 lines (34 loc) · 1.13 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// MongoLab node.js Gratuitous 3D demo
// Copyright 2011 ObjectLabs, Corp.
//
//
// MongoDB connectivity configuration
//
// THIS IS WHERE TO ADD MONGOLAB CONFIG INFO
// exports.databaseUrl = "dbh<server>.mongolab.com:<port>";
// exports.databaseName = "<databasename>";
// exports.username = "<username>";
// exports.password = "<password>";
//
// BELOW is to connect to locally running MongoDB server
exports.databaseUrl = "localhost";
exports.databaseName = "nodelove";
exports.username = "";
exports.password = "";
//
// allowedFiles: array of "inbound URL pathnames" mapped to allowed filenames to limit potentially malicious behaviors
//
exports.allowedFiles = { "/index.html" : "index.html",
"/" : "index.html",
"/3dmongodemo.js" : "3dmongodemo.js",
"/glge-compiled-min.js" : "glge-compiled-min.js",
"/jquery-1.6.4.min.js" : "jquery-1.6.4.min.js",
"/level.xml" : "level.xml",
"/map.png" : "map.png",
"/glgelogo.png" : "glgelogo.png",
"/MongoLabLogo.jpg" : "MongoLabLogo.jpg",
"/crate.jpg" : "crate.jpg",
"/wallnorm.jpg" : "wallnorm.jpg",
"/random.txt" : "random.txt",
"/LICENSE": "LICENSE"};