tuyen swa config
Modify the staticwebapp.config.json configuration file
Usage
tuyen swa config [OPTIONS] --input <INPUT> <COMMAND>Options
-p, --input <INPUT>
Path to the staticwebapp.config.json file
Aliases:
src
-o, --output <OUTPUT>
Output path. If omitted, the input file is overwritten in-place
Aliases:
dest
-h, --help
Print help.
Commands
set-global-header
Add or update a global response header
remove-global-header
Remove a global response header by name
set-route
Add or update a route rule with optional role restrictions
remove-route
Remove a route rule by pattern
set-response-override
Add or update an HTTP status code response override
remove-response-override
Remove an HTTP status code response override
set-mime-type
Add or update a custom MIME type mapping for a file extension
remove-mime-type
Remove a custom MIME type mapping by file extension
merge
Merge another staticwebapp.config.json into the current one