This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Config for our domain (where we want the Roam blog to live) | |
// and the start page (where we want our readers to land) | |
// Change these to suit your case! | |
// IMPORTANT: don't have '/' at the end of either domain or startPage | |
const config = { | |
domain: "roam.cloak.ist", | |
startPage: "/#/app/nudge/page/RI01qJl4P", | |
} | |
// Function that processes requests to the domain the worker is at |