velsa / notehost

Free Hosting for Notion Sites!
MIT License
87 stars 8 forks source link

How to setup 404 page? #12

Closed zanhk closed 6 months ago

zanhk commented 6 months ago

I setted the 404 page in the configuration like so

fof: {
        page: "78b0d54f81124f6584c0aa3d73431963",
        slug: "404", // default
    },

the page is a published page where the slug work correctly https://majestico.dev/404

but if I put a non existing url it show the notion 404 page

https://majestico.dev/asdfasdfa

image

How can i show the created 404 page?

velsa commented 6 months ago

The latest version of notehost (1.0.14) should fix the fof issue.

Please update your notehost package and redeploy your website.

zanhk commented 6 months ago

Thanks @velsa! Can confirm in fact that it works