Skip to content

Commit ab55bd6

Browse files
committed
Set the @base to current URL.
This is what an empty value technically does, but setting it in the form data makes that clearer than hiding it in the guts of the machine. It can be overriden via that same form field.
1 parent ce1114b commit ab55bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/next/editor.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ window.app = createApp({
331331
outputTab: 'expanded',
332332
options: {
333333
processingMode: 'json-ld-1.1',
334-
base: '',
334+
base: window.location.href,
335335
compactArrays: true,
336336
compactToRelative: true,
337337
rdfDirection: '',

0 commit comments

Comments
 (0)