1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 06:14:21 +08:00
ohmyzsh/.github/workflows/installer/vercel.json
Marc Cornellà 4ada154190
chore(installer): only serve installer in / and /install.sh
This avoids false positive detections on other bruteforced paths,
such as .zsh_history or others, which eventually result in
automated false vulnerability submissions.
2024-10-18 14:27:54 +02:00

24 lines
384 B
JSON

{
"headers": [
{
"source": "/(|install.sh)",
"headers": [
{
"key": "Content-Type",
"value": "text/plain"
},
{
"key": "Content-Disposition",
"value": "inline; filename=\"install.sh\""
}
]
}
],
"rewrites": [
{
"source": "/",
"destination": "/install.sh"
}
]
}