docs icon indicating copy to clipboard operation
docs copied to clipboard

Typo in the config.toml docs

Open Pdzly opened this issue 1 year ago • 0 comments

Summary

There is a typo in the docs.

# Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
# on and `server.enableCORS` is off at the same time, we will prioritize
# `server.enableXsrfProtection`.

It should say

# Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
# on and `server.enableCORS` is **ON** at the same time, we will prioritize
# `server.enableXsrfProtection`.

It would make no sense if they have conflicts between CORS and XSRF and if only one of them is activated ( so there is no conflict ).

Pdzly avatar Sep 17 '24 07:09 Pdzly