Skip to content

Commit

Permalink
删除追踪器
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Jan 19, 2025
1 parent 8b77a10 commit 64d2ef2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ class MenuBar extends React.Component {
/>
</div>
<div className={styles.menuBarItem}>
<Button id="zerocatool">测试</Button>
<Button id="zerocatool">ZeroCat服务加载中</Button>
</div>
{this.props.isStandalone ? null : (
<div className={styles.accountInfoGroup}>
Expand Down
3 changes: 1 addition & 2 deletions src/playground/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<script src="https://zerocat-api.houlangs.com/scratchtool"></script>
<script defer data-domain="codingclip.com" src="https://analytic.codingclip.com/js/plausible.js"></script>
<script src="http://localhost:3000/scratchtool"></script>
<% if (htmlWebpackPlugin.options.enablePWA ) { %>
<!--<meta name="viewport" content="width=device-width, user-scalable=no" />-->
<link rel="manifest" href="manifest.webmanifest">
Expand Down
15 changes: 0 additions & 15 deletions src/playground/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ import * as Sentry from '@sentry/react';
import {isProd, appVersion, appVersionFull} from '../lib/app-info';
import styles from './index.css';

// Register "base" page view
analytics.pageview('/');
Sentry.init({
dsn: 'https://[email protected]/6123390',
integrations: [
// new SentryRRWeb({
// checkoutEveryNms: 2 * 60 * 1000
// })
],
release: isProd ? appVersion : appVersionFull,
environment: isProd ? 'stable' : 'canary',
tracesSampleRate: 0.5
});
global.Sentry = Sentry;

const appTarget = document.createElement('div');
appTarget.className = styles.app;
document.body.appendChild(appTarget);
Expand Down

0 comments on commit 64d2ef2

Please sign in to comment.