NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature Request]: 支持配置 Google Fonts 镜像地址

Open CH3CHO opened this issue 1 year ago • 2 comments

Problem Description

NextChat 在访问时会从 Google Fonts 加载字体信息。由于众所周知的原因,中国大陆访问 Google Fonts 的官方地址 https://fonts.googleapis.com 会有一些困难,导致访问页面时报“Internal Server Error”。

image

Solution Description

支持通过环境变量自定义镜像地址,例如:

  • 谷歌官方镜像:https://fonts.font.im
  • 上海交通大学镜像:https://google-fonts.mirrors.sjtug.sjtu.edu.cn

Alternatives Considered

No response

Additional Context

No response

CH3CHO avatar May 10 '24 06:05 CH3CHO

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request]: Support configuring Google Fonts mirror address

Issues-translate-bot avatar May 10 '24 06:05 Issues-translate-bot

That's true, but mine doesn't have that problem

sanbei101 avatar May 10 '24 12:05 sanbei101

Thank you for your feedback, we will adopt the suggestion

Dean-YZG avatar May 13 '24 03:05 Dean-YZG