1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00
This commit is contained in:
Andrew Simachev 2020-12-07 12:06:21 +03:00
commit b966d7cc4a
30 changed files with 705 additions and 88 deletions

View file

@ -41,7 +41,7 @@ let csp = [
"style-src 'unsafe-inline' http://localhost:* file://*",
"font-src data: file://*",
"connect-src http://localhost:* http://127.0.0.1:* ws://localhost:* https://sentry.anytype.io https://anytype.io https://api.amplitude.com/ devtools://devtools data:",
"script-src-elem file://* http://localhost:* https://sentry.io devtools://devtools 'unsafe-inline'",
"script-src-elem file: http://localhost:* https://sentry.io devtools://devtools 'unsafe-inline'",
"frame-src chrome-extension://react-developer-tools"
];
let autoUpdate = false;
@ -501,6 +501,12 @@ function menuInit () {
setConfig({ debugMW: !config.debugMW });
}
},
{
label: 'Threads', type: 'checkbox', checked: config.debugTH,
click: () => {
setConfig({ debugTH: !config.debugTH });
}
},
{
label: 'Analytics', type: 'checkbox', checked: config.debugAN,
click: () => {