mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-24 17:33:39 +08: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.
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"
|
|
}
|
|
]
|
|
}
|