js doc composer for interop with visual paradigm
This commit is contained in:
+25
-1
@@ -1,4 +1,8 @@
|
||||
import path from 'path'
|
||||
|
||||
/**
|
||||
* Configuration class
|
||||
*/
|
||||
class Config{
|
||||
name = 'config';
|
||||
|
||||
@@ -9,15 +13,35 @@ class Config{
|
||||
name:'pronature',
|
||||
url: "mongodb://127.0.0.1:27017/pronature"
|
||||
}
|
||||
|
||||
/**
|
||||
* @class web site options
|
||||
* @alias SiteOptions
|
||||
* @memberof Config
|
||||
*/
|
||||
site = {
|
||||
/** Host name
|
||||
* @type {string}
|
||||
* @memberof SiteOptions
|
||||
*/
|
||||
host:'https://localhost:5173',
|
||||
ssl: true,
|
||||
port: 3000,
|
||||
/**
|
||||
* @class certificate data
|
||||
* @alias CertificateOptions
|
||||
* @memberof SiteOptions
|
||||
*/
|
||||
certificate: {
|
||||
/**
|
||||
* Certificate key
|
||||
* @type {string}
|
||||
* @memberof CertificateOptions
|
||||
*/
|
||||
key: './.cert/dev-key.pem',
|
||||
cert: './.cert/dev-cert.pem',
|
||||
passphrase: 'parola'
|
||||
}
|
||||
},
|
||||
}
|
||||
am = {
|
||||
salt : 'P@ssSal7y!!',
|
||||
|
||||
Reference in New Issue
Block a user