CORS
Interact with CORS-entries for your project
usage: sanity cors [-v|--version] [-d|--debug] [-h|--help] <command> [<args>]
Commands:
add Allow a new origin to use your project API through CORS
delete Delete an existing CORS-origin from your project
list List all origins allowed to access the API for this project
See 'sanity help cors <command>' for specific information on a subcommand.
usage: sanity cors add [ORIGIN] Allow a new origin to use your project API through CORS Options --credentials Allow credentials (token/cookie) to be sent from this origin --no-credentials Disallow credentials (token/cookie) to be sent from this origin Examples sanity cors add sanity cors add http://localhost:3000 --no-credentials
usage: sanity cors delete [ORIGIN] Delete an existing CORS-origin from your project Examples sanity cors delete sanity cors delete http://localhost:3000
usage: sanity cors list List all origins allowed to access the API for this project Examples sanity cors list