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

【FONT_URL】为什么没有使用镜像地址呢,导致访问的时候很慢。 #2300

Closed
handbye opened this issue Apr 17, 2024 · 1 comment · Fixed by #2318
Closed
Assignees
Labels
enhancement New feature or request

Comments

@handbye
Copy link

handbye commented Apr 17, 2024

image
另外这里能否支持从vercel的环境变量中配置镜像地址呢,方便更新。

关联 :
#384
#380

@handbye handbye added the enhancement New feature or request label Apr 17, 2024
@tangly1024 tangly1024 changed the title main分支中的FONT_URL为什么没有使用镜像地址呢,导致访问的时候很慢。 【FONT_URL】为什么没有使用镜像地址呢,导致访问的时候很慢。 Apr 23, 2024
@tangly1024
Copy link
Owner

tangly1024 commented Apr 23, 2024

感谢反馈,我将提交一个新功能,使 FONT_URL 支持在NOTION_CONFIG中配置。

  • 直接添加一个 FONT_URL 配置即可覆盖,便于自行配置web字体的路径。
  • 同时,如果要自定义别除了 noto-sans 或 noto-serif 之外的字体,建议在GLOBAL_CSS 中配置 font-family的CSS样式,如下图。

image

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

Successfully merging a pull request may close this issue.

2 participants