Skip to content

Instantly share code, notes, and snippets.

View GabZoFar's full-sized avatar
🐙

Gabrielle Neveu GabZoFar

🐙
View GitHub Profile
@GabZoFar
GabZoFar / notion2blog.js
Created May 21, 2021 12:02 — forked from mayneyao/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@GabZoFar
GabZoFar / notion2blog.js
Last active April 21, 2021 12:47
Notion.so > Personal Blog | custom domain
const MY_DOMAIN = "gaabs.co"
const START_PAGE = "https://www.notion.so/inDinero-Help-Center-465343520bbe4af19f3b0144b70a1192"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
@GabZoFar
GabZoFar / notion2blog.js
Created April 21, 2021 12:44 — forked from SafEight/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "example.com"
const START_PAGE = "https://www.notion.so/example"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",