Skip to content

Commit 1de68d2

Browse files
authored
Add location origin to fix citation fetch (#14)
1 parent 8bce3d7 commit 1de68d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warduino/.vitepress/components/citation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default {
5656
},
5757
5858
created() {
59-
fetch(withBase(this.file), {
59+
fetch(window.location.origin + withBase(this.file), {
6060
headers: {
6161
'Content-Type': 'text/plain'
6262
}

0 commit comments

Comments
 (0)