Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/create-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function createApp (argv = {}) {
argv.templates = config.initTemplateDirs(configPath)

const ldp = new LDP(argv)
ldp.printDebugInfo()

const app = express()

Expand Down
9 changes: 6 additions & 3 deletions lib/ldp.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ const RDF_MIME_TYPES = [
/**
* @constructor
* @param [options={}] {Object}
* @param [options.serverUri]
* @param [options.dbPath]
* @param [options.configPath]
* @param [options.root]
* @param [options.suffixAcl]
* @param [options.suffixMeta]
Expand All @@ -42,7 +45,7 @@ const RDF_MIME_TYPES = [
* @param [options.dataBrowserPath]
* @param [options.webid]
* @param [options.auth]
* @param [options.idp]
* @param [options.multiuser]
* @param [options.proxy]
* @param [options.live]
* @param [options.store]
Expand Down Expand Up @@ -87,7 +90,9 @@ class LDP {
if (this.corsProxy && this.corsProxy[ 0 ] !== '/') {
this.corsProxy = '/' + this.corsProxy
}
}

printDebugInfo () {
debug.settings('Server URI: ' + this.serverUri)
debug.settings('Auth method: ' + this.auth)
debug.settings('Db path: ' + this.dbPath)
Expand All @@ -100,8 +105,6 @@ class LDP {
debug.settings('Multi-user: ' + !!this.multiuser)
debug.settings('Suppress default data browser app: ' + this.suppressDataBrowser)
debug.settings('Default data browser app file path: ' + this.dataBrowserPath)

return this
}

stat (file, callback) {
Expand Down