Cleaner code with prettier.

This commit is contained in:
Daniel
2022-06-16 13:43:44 +04:30
parent e2db7e71ac
commit 10d3a05c1d
32 changed files with 1021 additions and 754 deletions
+9 -9
View File
@@ -1,12 +1,12 @@
// Note: the formatting are really sensitive so for example DO NOT end
// the "STORAGE_LOCATION" path with an extra slash "/" (i.e. "/home/")
module.exports = {
"API": {
"ADDRESS": "http://192.168.1.7", // IP address of the computer which LinkWarden is running
"PORT": 5000, // The api port
"MONGODB_URI": "mongodb://localhost:27017", // MongoDB link
"DB_NAME": "sample_db", // MongoDB database name
"COLLECTION_NAME": "list", // MongoDB collection name
"STORAGE_LOCATION": "/home/danny/Documents" // The path to store the archived data
}
}
API: {
ADDRESS: "http://192.168.1.7", // IP address of the computer which LinkWarden is running
PORT: 5000, // The api port
MONGODB_URI: "mongodb://localhost:27017", // MongoDB link
DB_NAME: "sample_db", // MongoDB database name
COLLECTION_NAME: "list", // MongoDB collection name
STORAGE_LOCATION: "/home/danny/Documents", // The path to store the archived data
},
};