Skip to content

Commit 8aff8b5

Browse files
authored
Update nuxt.config.js
1 parent 077cb58 commit 8aff8b5

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

nuxt.config.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ export default theme({
5151
routes.push(...redirect)
5252
}
5353
},
54-
head() {
55-
return {
56-
script: [
57-
{
58-
innerHTML: "window.__rum = { pid: 'aokcdqn3ly@f609801600af959', endpoint: 'https://aokcdqn3ly-default-cn.rum.aliyuncs.com' }",
59-
type: 'text/javascript',
60-
},
61-
{
62-
src: 'https://sdk.rum.aliyuncs.com/v2/browser-sdk.js',
63-
type: 'text/javascript',
64-
crossorigin: 'anonymous',
65-
}
66-
],
67-
__dangerouslyDisableSanitizers: ['script']
68-
}
69-
}
54+
// head() {
55+
// return {
56+
// script: [
57+
// {
58+
// innerHTML: "window.__rum = { pid: 'aokcdqn3ly@f609801600af959', endpoint: 'https://aokcdqn3ly-default-cn.rum.aliyuncs.com' }",
59+
// type: 'text/javascript',
60+
// },
61+
// {
62+
// src: 'https://sdk.rum.aliyuncs.com/v2/browser-sdk.js',
63+
// type: 'text/javascript',
64+
// crossorigin: 'anonymous',
65+
// }
66+
// ],
67+
// __dangerouslyDisableSanitizers: ['script']
68+
// }
69+
// }
7070
});

0 commit comments

Comments
 (0)