Skip to content

Instantly share code, notes, and snippets.

View jschang19's full-sized avatar

Chun Shawn jschang19

View GitHub Profile
{
"confName": "OPass",
"title": {
"zh-TW": "大地集章",
"en": "Rewards"
},
"description": {
"zh-TW": "大地遊戲說明文字",
"en": "Booth reward activity description"
},
@jschang19
jschang19 / worker.js
Last active February 22, 2023 02:37
Notion 自訂網域的程式碼,此段程式碼可讓 Cloudflare 串接個人 Notion Page,達到自訂 Notion 網域與網址的效果,請將此段程式碼貼到你的 Cloudflare Worker 編輯器內。更詳細的操作教學請參考 https://jcshawn.com/notion-custom-domain/
/*
* Modifired via https://github.com/stephenou/fruitionsite/blob/master/worker.js
* This code is baesd on Fruitonsite service, localized by Chun Shawn in Traditional-Chinese.
* You're able to set a custom domain with this code by using Cloudflare
* Check for https://fruitionsite.com/ for toturials.
*
* < Notion 自訂網域 Cloudflare 程式碼分享 >
*
* 此程式由 Fruitonsite 製作( https://fruitionsite.com/ )
* 由張君祥 Chun Shawn 翻譯繁體中文( https://jcshawn.com )