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

”valine評論“使用國際版”LeanCloud“會報錯 #550

Closed
akizono opened this issue May 30, 2023 · 0 comments
Closed

”valine評論“使用國際版”LeanCloud“會報錯 #550

akizono opened this issue May 30, 2023 · 0 comments

Comments

@akizono
Copy link

akizono commented May 30, 2023

具體報錯:

  • 瀏覽器主控臺: 已經攔截跨域請求https://us.LeanCloud.cn/....(省略)的遠程資源。(原因:CORS請求未能成功)

原因:

  • ”valine“使用國際版的”LeanCloud“,在new Valine的時候必須携帶上serverURLs參數(在 LeanCloud控制臺-應用憑證-服務器地址 可以獲取這個參數)。
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