Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

添加CDN自定义选项 #7

Open
Mhatetk opened this issue Aug 11, 2023 · 6 comments
Open

添加CDN自定义选项 #7

Mhatetk opened this issue Aug 11, 2023 · 6 comments

Comments

@Mhatetk
Copy link

Mhatetk commented Aug 11, 2023

可以弄一下CDN的变量吗,Glitch比较慢,加了CDN速度应该会有比较大的提升

@wy580477
Copy link
Owner

data 目录下面,有 config.json, 自己改一下就行。

@Mhatetk
Copy link
Author

Mhatetk commented Aug 12, 2023

data 目录下面,有 config.json, 自己改一下就行。

image
没有data

@wy580477
Copy link
Owner

那在 .env 里面,设置一个 CDN 变量就行。

@Mhatetk
Copy link
Author

Mhatetk commented Aug 12, 2023

加了CDN就是网站空白界面了,F12看了一下只加载了/dist/assets里面的一个index开头的文件

@Mhatetk
Copy link
Author

Mhatetk commented Aug 12, 2023

@qiuqiu-ux
Copy link

我也是空白页你解决了吗

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

No branches or pull requests

3 participants