fix: make fetching work on any domain
This commit is contained in:
parent
3f0e2e4321
commit
b60c6cba86
|
@ -2,7 +2,7 @@
|
|||
// https://git.ctdo.de/ctdo/wikijs-metabot/
|
||||
|
||||
async function graphql(query) {
|
||||
const res = await fetch('https://wiki.ctdo.de/graphql', {
|
||||
const res = await fetch('/graphql', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in New Issue