mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
7348d12f8e
This allows doing something like curl -O https://install.ohmyz.sh and have the `install.sh` file automatically saved to its right name.
23 lines
420 B
JSON
23 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"
|
|
}
|
|
]
|
|
}
|