Skip to content

Commit

Permalink
Remove Monetag
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyTapok-bit committed May 5, 2024
1 parent 8705627 commit 979b449
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 1 addition & 23 deletions src/.vuepress/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ const head = []
const PRODUCTION = true ?? process.env.PRODUCTION
const GTAG = process.env.GTAG
const ADSENSE = process.env.ADSENSE
const MONETAG = "6f9bca78ef751283975bfdda408ebda7"
const MONETAG_ZONE = 63500

const IS_GTAG = PRODUCTION && GTAG
const IS_ADSENSE = false // PRODUCTION && ADSENSE
const IS_MONETAG = PRODUCTION && MONETAG
const IS_MONETAG_ZONE = PRODUCTION && MONETAG_ZONE
const IS_ADSENSE = PRODUCTION && ADSENSE

// Google tag (gtag.js)
if (IS_GTAG) head.push([
Expand All @@ -36,22 +32,4 @@ if (IS_ADSENSE) head.push([
])
// End Google AdSense

// Monetag
if (IS_MONETAG) head.push([
"meta", {
name: "monetag",
content: MONETAG
}
])

if (IS_MONETAG_ZONE) head.push([
"script", {
src: "https://alwingulla.com/88/tag.min.js",
"data-zone": MONETAG_ZONE,
"data-cfasync": "false",
async: true
}
])
// End Monetag

export default head
1 change: 0 additions & 1 deletion src/.vuepress/public/sw.js

This file was deleted.

0 comments on commit 979b449

Please sign in to comment.