mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix tpl
This commit is contained in:
6 files changed
+13
-14
No files matched your search
@@ -52,7 +52,7 @@ if (process.env.NODE_ENV === 'production' && UiContext.sentry_dsn) {
|
||||
if (!e.isUserFacingError) window._sentryEvents.push(e);
|
||||
};
|
||||
const script = document.createElement('script');
|
||||
script.src = new URL('/sentry.js', __webpack_public_path__).href;
|
||||
script.src = new URL('/sentry.js', UiContext.cdn_prefix).href;
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user