Custom Domains with Obsidian Publish
In order to set a custom domain you need to create a `netlify.toml` file in your root directory and add the following
In order to set a custom domain you need to create a `netlify.toml` file in your root directory and add the following
In order to set a custom domain you need to create a netlify.toml file in your root directory and add the following
[[redirects]]
from = "https://mysite.com/my-notes/*"
to = "https://publish.obsidian.md/serve?url=mysite.com/my-notes/:splat"
status = 200
force = true
Note: Make sure to change
https://publish.obsidian.md/serveto your own Obsidian publish domain. Ex: https://publish.obsidian.md/ritik.