Skip to content

Commit

Permalink
docs: allow origin
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <hivert.is.coming@gmail.com>
  • Loading branch information
ghivert committed Apr 24, 2024
1 parent 529818f commit 941e54f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cors_builder.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ fn invalid_uri(origin: String) {
})
}

/// Allow a specific domain to access your server.
/// Allow a specific domain to access your server. The domain must be a valid
/// URI, conformant to RFC 3986. In case it's not conformant, a warning will be
/// emitted, and Cors won't be changed.
/// You can specify multiple domains to access your server. In this case, call
/// the function multiple times on `Cors` data.
/// ```
Expand Down

0 comments on commit 941e54f

Please sign in to comment.