initial commit
This commit is contained in:
33
config/default.json
Normal file
33
config/default.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"docsDir": "../kb",
|
||||
"trustCloudflare": false,
|
||||
"cacheSize": 7500000,
|
||||
"paginate": {
|
||||
"default": 10,
|
||||
"max": 50
|
||||
},
|
||||
"authentication": {
|
||||
"secret": "3e1e7c92b1ba7fd917d8a8abfe42349982242d4673464b43f57f72cdf2c153ed0c1cff46299ee633009e0b7e9d9c60b1dc3fa05e0a5541be5f3659999498987bf1e76524535b60c13780dc0e12322593ddad755c833d8423d4641cf006866604a0f06c2acc7741289cdabf55e61fd164e02bfc26d0cd1031e40c695ba32a9a89fca000ee2cdb705f5d2e46fec98308e7db47a2ed95f51488c4b89cb549b495fc841f4b48f35c5ece9af31dfaf9befa4e25b746269becc93fa9a8484c55a93869afb5377d2a38b98a432a4bb4aef09fe89f2de1c1d73d4476d222958a3401ab3cfb5ad86f883c847806618e44c198ea4baec426d488cb6e323a89bfce896a86d6",
|
||||
"strategies": [
|
||||
"jwt",
|
||||
"local"
|
||||
],
|
||||
"path": "/auth",
|
||||
"service": "users",
|
||||
"jwt": {
|
||||
"header": {
|
||||
"typ": "access"
|
||||
},
|
||||
"subject": "anonymous",
|
||||
"issuer": "feathers",
|
||||
"algorithm": "HS256",
|
||||
"expiresIn": "1d"
|
||||
},
|
||||
"local": {
|
||||
"entity": "user",
|
||||
"usernameField": "email",
|
||||
"passwordField": "password"
|
||||
}
|
||||
},
|
||||
"nedb": "../db"
|
||||
}
|
||||
6
config/host.json
Normal file
6
config/host.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"host": "localhost",
|
||||
"port": 3030,
|
||||
"protocol": "http",
|
||||
"basePath": "/"
|
||||
}
|
||||
1
config/production.json
Normal file
1
config/production.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
config/trustIPs.json
Normal file
1
config/trustIPs.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
Reference in New Issue
Block a user