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

能不能把引用资源改成本地的。。。 #11

Open
KyoMio opened this issue Jul 11, 2022 · 6 comments
Open

能不能把引用资源改成本地的。。。 #11

KyoMio opened this issue Jul 11, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@KyoMio
Copy link

KyoMio commented Jul 11, 2022

能不能把引用资源改成本地的。
cdn的加载速度真的很慢。

@TW527E
Copy link
Owner

TW527E commented Jul 11, 2022

@KyoMio 三小 怎麼改本地啊 我要怎麼在每個人電腦上放檔案

@KyoMio
Copy link
Author

KyoMio commented Jul 11, 2022

@KyoMio 三小 怎麼改本地啊 我要怎麼在每個人電腦上放檔案

就存theme文件夹里呗,本地目录引用。
给大家安装主题的时候多一个把样式文件js文件一起打包下载安装到本地的选择。
你觉得咋样。
其实就改个不用cdn的html文件就行,只不过我不清楚你引用了哪些资源- -

@TW527E
Copy link
Owner

TW527E commented Jul 11, 2022

蝦 大家安裝主題都不太一樣 我要怎麼確保他是做對的qwq

@KyoMio
Copy link
Author

KyoMio commented Jul 11, 2022

蝦 大家安裝主題都不太一樣 我要怎麼確保他是做對的qwq

蝦 大家安裝主題都不太一樣 我要怎麼確保他是做對的qwq

有困难就算啦,就提个想法,毕竟功能越多,需要加载的东西也越多,负载大了cdn的这点速度有点影响体验。

@TW527E
Copy link
Owner

TW527E commented Jul 11, 2022

可能有點困難 我有空的時候想想 先不要關掉這個issue

@Dedicatus5457
Copy link
Contributor

Dedicatus5457 commented Oct 2, 2022

Om程序是禁止引用本地js css资源的,因为https://url.com/xxxx 必须指向OneDrive内的文件。所以 <script type="text/javascript" src="js.js" ></script>这样引用本地的东西是不行的,但src="?jsFile=xxxx.js"可以,有个小口子

@TW527E TW527E added the enhancement New feature or request label Apr 1, 2024
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

No branches or pull requests

3 participants