diff --git a/src/taskpane/taskpane.html b/src/taskpane/taskpane.html index f8d2b22..e44335b 100644 --- a/src/taskpane/taskpane.html +++ b/src/taskpane/taskpane.html @@ -54,14 +54,11 @@ - { if (dev) { return content; } else { - return content - .toString() - .replace(new RegExp(urlDev, "g"), urlProd + "v" + process.env.MODULE_VERSION + "/"); + return content.toString().replace(new RegExp(urlDev, "g"), `${urlProd}v${process.env.MODULE_VERSION}/`); } }, },