Update ready.js

This commit is contained in:
Christer Warén 2021-09-10 23:41:48 +03:00
parent 57f63c3838
commit 24eaf3a7e2

View File

@ -1,4 +1,4 @@
import Datastore from "../datastore.js";
import Datastore from "../classes/Datastore.js";
const _importDynamic = new Function('modulePath', 'return import(modulePath)');
const fetch = (...args) => _importDynamic('node-fetch').then(({default: fetch}) => fetch(...args));