Skip to Main content

tuyen swa config set-mime-type

Add or update a custom MIME type mapping for a file extension

Usage

tuyen swa config set-mime-type --extension <EXTENSION> --mime-type <MIME_TYPE>

Options

-x, --extension <EXTENSION>

File extension without the dot (e.g. "woff2")

-t, --mime-type <MIME_TYPE>

MIME type to associate (e.g. "font/woff2")

-h, --help

Print help.