Skip to content

Commit

Permalink
fix: Remove redundant content and address security concerns.
Browse files Browse the repository at this point in the history
 * delete locale pram from comments.html.
 * delete Google API Key.
  • Loading branch information
MortyZhaoy committed Sep 7, 2024
1 parent 2c1b541 commit e7ea625
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/docs/firebase-views/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { getAnalytics } from "firebase/analytics";
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY",
apiKey: "xxxxx",
authDomain: "blowfish-21fff.firebaseapp.com",
projectId: "blowfish-21fff",
storageBucket: "blowfish-21fff.appspot.com",
Expand Down
2 changes: 1 addition & 1 deletion content/docs/firebase-views/index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { getAnalytics } from "firebase/analytics";
// 你 Web 应用的 Firebase 配置
// 对于 Firebase JS SDK v7.20.0 以及更高版本,measurementId 参数是可选的
const firebaseConfig = {
apiKey: "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY",
apiKey: "xxxxx",
authDomain: "blowfish-21fff.firebaseapp.com",
projectId: "blowfish-21fff",
storageBucket: "blowfish-21fff.appspot.com",
Expand Down
2 changes: 0 additions & 2 deletions layouts/partials/comments.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<head>
<link rel="stylesheet" href="https://unpkg.com/@waline/client@v3/dist/waline.css" />
</head>

<body>
<div id="waline"></div>
<script type="module">
Expand All @@ -10,7 +9,6 @@
el: '#waline',
serverURL: 'https://blogwaline-jog2tc2g2-mortyzhaoys-projects.vercel.app/',
lang: 'en',
// locale: { placeholder: '<评论提示语不需要的话直接注释掉本行>' },
wordLimit: 500,
search: false,
pageview: true,
Expand Down

0 comments on commit e7ea625

Please sign in to comment.