-
Notifications
You must be signed in to change notification settings - Fork 22
Comments
Open
Conversation
@coperlm is attempting to deploy a commit to the Evanovation Team on Vercel.
A member of the Team first needs to authorize it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主要工作是把原本从硬编码访问
vercount.one改为提取BETTER_AUTH_URL的自己的项目的url,可以直接部署到vercel上测试结果:(使用浏览器自带的屏蔽指定url
*://*.vercount.one/*的功能,确保完全自建,不会调用官方服务)把环境变量里的
imageBETTER_AUTH_URL改为https://vercount.one,博客设置始终调用自建urlhttps://vercount-l2e8.vercel.app。没有访客数量,显示调用https://vercount-l2e8.vercel.app/js,但是https://events.vercount.one/api/v2/log被屏蔽把环境变量里的
imageBETTER_AUTH_URL改为https://vercount-l2e8.vercel.app,现在是纯自部署模式。有访客数量关闭屏蔽
imagevercount.one,也能正常获取官网的数据,不影响非自建的正常使用(博客直接调用官网url+浏览器不屏蔽也能显示,这里不再赘述)
实现方式可能不是很优雅,但经实验暂未发现bug,还请多多指教