1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-07-07 17:16:30 +00:00
PoetryInstaller/vercel.json
Dimas Putra f0d4b98ac1
Set content-type header to text/plain
This change ensures content-type header is set to ensure correect
encoding detection, eg: on pwsh.

Resolves: python-poetry/poetry#4845
2022-02-09 10:29:08 +01:00

29 lines
449 B
JSON

{
"headers": [
{
"headers": [
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
}
],
"source": "/"
},
{
"headers": [
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
}
],
"source": "/(.+)\\.py"
}
],
"rewrites": [
{
"destination": "/install-poetry.py",
"source": "/"
}
]
}