2
0

Customizable allowed origins

This commit is contained in:
Baptiste Arnaud
2024-01-17 09:04:07 +01:00
parent b2f8cd44b8
commit 8771def9a1
12 changed files with 151 additions and 5 deletions

View File

@@ -36,6 +36,17 @@ return new Promise((res) => setTimeout(res, 3000))
You can tweak `3000` (3s) to your liking.
## Security
By default, your typebot can be executed from any origin but you can restrict the execution of your typebot to specific origins. This is useful if you want to embed your typebot in your website and prevent it from being executed on other websites by malicious actors.
For example, if you want to allow your typebot to be executed only on `https://my-company.com`, you can add `https://my-company.com` to the list of allowed origins.
<Warning>
If you add a URL to the list but omit https://typebot.co, then your typebot
shareable URL will not work anymore.
</Warning>
## Metadata
In the Metadata section, you can customize how the preview card will look if you share your bot URL on social media for example.