mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-19 16:22:55 +08:00

This allows doing something like curl -O https://install.ohmyz.sh and have the `install.sh` file automatically saved to its right name.
24 lines
420 B
JSON
24 lines
420 B
JSON
{
|
|
"headers": [
|
|
{
|
|
"source": "/((?!favicon.ico).*)",
|
|
"headers": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "text/plain"
|
|
},
|
|
{
|
|
"key": "Content-Disposition",
|
|
"value": "inline; filename=\"install.sh\""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/((?!favicon.ico|install.sh).*)",
|
|
"destination": "/install.sh"
|
|
}
|
|
]
|
|
}
|