Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置waline评论显示404notfound #558

Open
tangerine370 opened this issue Aug 1, 2024 · 2 comments
Open

配置waline评论显示404notfound #558

tangerine370 opened this issue Aug 1, 2024 · 2 comments

Comments

@tangerine370
Copy link

我使用leancloud+vercel部署blog和waline功能,根据手册尝试使用vercel提供的waline demo成功,但在blog上使用该主题时,点击评论框登录显示cros错误,然后在主文件夹添加了vercel.json,现在显示404:
屏幕截图 2024-08-01 230117
想问问可能是啥问题?

@cirry
Copy link

cirry commented Aug 1, 2024

在vercel.json中添加如下代码试试:
"headers": [
{
"source": "/(.)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "
"
}
]
}
]

@tangerine370
Copy link
Author

在vercel.json中添加如下代码试试: "headers": [ { "source": "/(.)", "headers": [ { "key": "Access-Control-Allow-Origin", "value": "" } ] } ]

没有效果T T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants