Skip to content

Commit 8d9d3e7

Browse files
committed
Replace deprecated document.origin.
Fixes #870.
1 parent 9a63176 commit 8d9d3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/databrowser.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// Set up cross-site proxy
1313
const $rdf = UI.rdf
14-
$rdf.Fetcher.crossSiteProxyTemplate = document.origin + '/xss/?uri={uri}'
14+
$rdf.Fetcher.crossSiteProxyTemplate = self.origin + '/xss/?uri={uri}'
1515

1616
// Authenticate the user
1717
UI.authn.checkUser()

0 commit comments

Comments
 (0)