Skip to content

Commit d15c9bf

Browse files
committed
Add originsAllowed and some debug
1 parent ab1b857 commit d15c9bf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
'serverUri': 'https://localhost:8443',
1313
'webid': true,
1414
'strictOrigin': true,
15+
'originsAllowed': ['https://apps.solid.invalid'],
1516
'dataBrowserPath': 'default'
1617

1718
// For use in Enterprises to configure a HTTP proxy for all outbound HTTP requests from the SOLID server (we use

lib/ldp.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ class LDP {
7575

7676
debug.settings('Server URI: ' + this.serverUri)
7777
debug.settings('Auth method: ' + this.auth)
78+
debug.settings('Strict origins: ' + this.strictOrigin)
79+
debug.settings('Allowed origins: ' + this.originsAllowed)
7880
debug.settings('Db path: ' + this.dbPath)
7981
debug.settings('Config path: ' + this.configPath)
8082
debug.settings('Suffix Acl: ' + this.suffixAcl)

0 commit comments

Comments
 (0)