diff --git a/readme.md b/readme.md index 38ab050..7b54306 100644 --- a/readme.md +++ b/readme.md @@ -28,24 +28,24 @@ - [🚀 Features](#-features) - [🔌 Built With](#-built-with) - [⌨️ Getting Started](#️-getting-started) - - [Prerequisites](#prerequisites) - - [Installation](#installation) - - [Clone this repository](#clone-this-repository) - - [✏️ Configure DNS records](#️-configure-dns-records) - - [✏️ Configure `docker-compose.yml`](#️-configure-docker-composeyml) - - [🚀 Deploy](#-deploy) + - [Prerequisites](#prerequisites) + - [Installation](#installation) + - [Clone this repository](#clone-this-repository) + - [✏️ Configure DNS records](#️-configure-dns-records) + - [✏️ Configure `docker-compose.yml`](#️-configure-docker-composeyml) + - [🚀 Deploy](#-deploy) - [✨ Usage](#-usage) - - [Installing cli tool](#installing-cli-tool) - - [🆕 Creating and initializing folder](#-creating-and-initializing-folder) - - [🆕 Creating index.html](#-creating-indexhtml) - - [🔍 Inspecting `sero.toml`](#-inspecting-serotoml) - - [✏️ Changing `sero.toml`](#️-changing-serotoml) - - [⬆️ Registration and uploading](#️-registration-and-uploading) - - [Now your site is available at http://oursite.awesome.com/index.html](#now-your-site-is-available-at-httpoursiteawesomecomindexhtml) - - [Advanced usage with `new` features](#advanced-usage-with-new-features) + - [Installing cli tool](#installing-cli-tool) + - [🆕 Creating and initializing folder](#-creating-and-initializing-folder) + - [🆕 Creating index.html](#-creating-indexhtml) + - [🔍 Inspecting `sero.toml`](#-inspecting-serotoml) + - [✏️ Changing `sero.toml`](#️-changing-serotoml) + - [⬆️ Registration and uploading](#️-registration-and-uploading) + - [Now your site is available at http://oursite.awesome.com/index.html](#now-your-site-is-available-at-httpoursiteawesomecomindexhtml) + - [Advanced usage with `new` features](#advanced-usage-with-new-features) - [📍 Roadmap](#-roadmap) - [🧑‍🤝‍🧑 Contributing](#-contributing) - - [Creating A Pull Request](#creating-a-pull-request) + - [Creating A Pull Request](#creating-a-pull-request) - [License](#license) - [Authors](#authors) @@ -74,6 +74,7 @@ One key feature that it is self-hosted. This gives users more flexibility and co - Custom 404.html `(on 404 status user will see your 404.html)` - Custom 503.html `new` `(on disabled site)` - Clean urls +- CORS ## 🔌 Built With - `Rust` @@ -167,6 +168,9 @@ password = "" [server] url = "http://sero.com/" subdomain = "clowzed" + +[cors] +origins = [] ``` ### ✏️ Changing `sero.toml` @@ -181,6 +185,9 @@ password = "" [server] url = "http://awesome.com/" subdomain = "oursite" + +[cors] +origins = ["*"] # list of origins you trust ``` ### ⬆️ Registration and uploading