Skip to content

Conversation

@SouSuoKe
Copy link
Contributor

@SouSuoKe SouSuoKe commented Jan 4, 2026

No description provided.

2.取消加载远程资源,修复因onerror的错误写法导致内网使用时无法切换加载本地静态资源的问题

Closes justhtmls#8
@SouSuoKe
Copy link
Contributor Author

SouSuoKe commented Jan 6, 2026

关于修改路径的说明:如果项目部署在子目录,比如:http://127.0.0.1/html-tools/ ,会导致无法加载资源,所以全部改成了相对路径,比如:<link rel="stylesheet" href="../../assets/vendor/fontawesome/css/all.min.css">

关于4d18d42,内网部署时远程静态资源onerror切换本地资源不生效,chatgpt给出的解释是 https://chatgpt.com/share/695c57c6-65f8-8011-b5ad-563099315893


1. 以下为 #8 问题复现:

PixPin_20260106084418 PixPin_20260106084834

2. 完全使用本地资源时,成功运行且无报错:

PixPin_20260106085350

@SouSuoKe SouSuoKe changed the title 修复换行符丢失的错误 修复换行符丢失、UUIDv1少4位、内网部署无法使用的问题 Jan 6, 2026
@SouSuoKe SouSuoKe changed the title 修复换行符丢失、UUIDv1少4位、内网部署无法使用的问题 修复换行符丢失、UUIDv1少4位、内网部署无法使用等问题 Jan 6, 2026
@chao5go
Copy link
Contributor

chao5go commented Jan 8, 2026

感谢反馈~

@chao5go chao5go merged commit bf63b8b into justhtmls:main Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants