Skip to content
Snippets Groups Projects
Commit 06e53f1d authored by poka's avatar poka
Browse files

fix build for import node-fetch

parent ebf83e55
No related branches found
No related tags found
1 merge request!26enh: simplify adding new graphql endpoint
Pipeline #36555 passed
const fetch = require("node-fetch") const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
const fs = require("fs") const fs = require("fs")
fetch("https://gql.wotwizard.trentesaux.fr/", { fetch("https://gql.wotwizard.trentesaux.fr/", {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment