File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function createApp (argv = {}) {
4545 argv . templates = config . initTemplateDirs ( configPath )
4646
4747 const ldp = new LDP ( argv )
48+ ldp . printDebugInfo ( )
4849
4950 const app = express ( )
5051
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ const RDF_MIME_TYPES = [
3535/**
3636 * @constructor
3737 * @param [options={ }] {Object}
38+ * @param [options.serverUri]
39+ * @param [options.dbPath]
40+ * @param [options.configPath]
3841 * @param [options.root]
3942 * @param [options.suffixAcl]
4043 * @param [options.suffixMeta]
@@ -44,7 +47,7 @@ const RDF_MIME_TYPES = [
4447 * @param [options.dataBrowserPath]
4548 * @param [options.webid]
4649 * @param [options.auth]
47- * @param [options.idp ]
50+ * @param [options.multiuser ]
4851 * @param [options.proxy]
4952 * @param [options.live]
5053 * @param [options.store]
@@ -89,7 +92,9 @@ class LDP {
8992 if ( this . corsProxy && this . corsProxy [ 0 ] !== '/' ) {
9093 this . corsProxy = '/' + this . corsProxy
9194 }
95+ }
9296
97+ printDebugInfo ( ) {
9398 debug . settings ( 'Server URI: ' + this . serverUri )
9499 debug . settings ( 'Auth method: ' + this . auth )
95100 debug . settings ( 'Db path: ' + this . dbPath )
@@ -102,8 +107,6 @@ class LDP {
102107 debug . settings ( 'Multi-user: ' + ! ! this . multiuser )
103108 debug . settings ( 'Suppress default data browser app: ' + this . suppressDataBrowser )
104109 debug . settings ( 'Default data browser app file path: ' + this . dataBrowserPath )
105-
106- return this
107110 }
108111
109112 stat ( file , callback ) {
You can’t perform that action at this time.
0 commit comments