diff --git a/tools/static-assets/server/boot.js b/tools/static-assets/server/boot.js index 90088df00d..0c305c80c1 100644 --- a/tools/static-assets/server/boot.js +++ b/tools/static-assets/server/boot.js @@ -354,10 +354,10 @@ const loadServerBundles = Profile("Load server bundles", async function () { }; const Assets = { - getText: function (assetPath, callback) { + getTextAsync: function (assetPath, callback) { return getAsset(assetPath, "utf8", callback); }, - getBinary: function (assetPath, callback) { + getBinaryAsync: function (assetPath, callback) { return getAsset(assetPath, undefined, callback); }, /**