Skip to content

Commit 6f2261e

Browse files
kjetilkrubensworks
authored andcommitted
Communicate allowed origins through the server (#26)
1 parent e7a85d4 commit 6f2261e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/handlers/allow.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function allow (mode) {
4545
.catch(() => ldp.fetchGraph(uri, options))
4646
},
4747
suffix: ldp.suffixAcl,
48-
strictOrigin: ldp.strictOrigin
48+
strictOrigin: ldp.strictOrigin,
49+
originsAllowed: ldp.originsAllowed
4950
})
5051

5152
// Ensure the user has the required permission

0 commit comments

Comments
 (0)