目前我正在尝试从 root.com/robots.txt 重定向到 beta.root.com/robots.txt。
这目前不起作用,知道为什么吗?:
{
"version": 2,
"alias": ["root.com"],
"routes": [
{
"src": "/(.*)",
"status": 301,
"headers": { "Location": "https://beta.root.com/$1" },
"dest": "/$1"
}
]
}