DEV Community

Discussion on: 🌐 Using the Notion page as a personal website with your domain on Cloudflare

Collapse
 
mysterydigital profile image
MysteryDigital

hiya, I created an account specifically to record an issue recently popping up which is the infamous "Mismatch between origin and baseUrl (dev)."

I tried following the instructions described when I googled the error here and the problem is persisting.

Could you provide any additional insight?

Collapse
 
koddr profile image
Vic Shóstak

Hi,

Did you try to follow this instruction on Reddit?

You need to go in to Cloudflare workers and edit your script. Put your domain on line 4 and enter as "sitedomain.com"

Replacing sitedomain with your own domain. Click save and deploy.

Then go back and edit route. Change to ".sitedomain.com/" save it.

Then make sure your SSL is set to Flexible.

Collapse
 
krishkanabar profile image
Krishna kanabar • Edited

I am getting the same error
My notion page link is: notion.so/test-fc3e5efb96dc46d182d...

Inside worker script:
const MY_DOMAIN = "wew.perpetualbeta.io";
const SLUG_TO_PAGE = {
"": "test-fc3e5efb96dc46d182d4dd7cc9028ec1", // main page
"about": "test-fc3e5efb96dc46d182d4dd7cc9028ec1", // page with about info
"blog": "test-fc3e5efb96dc46d182d4dd7cc9028ec1", // your blog page
"contact": "test-fc3e5efb96dc46d182d4dd7cc9028ec1", // feedback form
};

and so on...(all other code is same)

Inside Triggers/Add route
.perpetualbeta.io/

It's showing me error
Image description

when I open wew.perpetualbeta.io/fc3e5efb96dc4... It shows me this site can't be reached