MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
15.38k stars 2.55k forks source link

[Bug] UI 文件403 #1053

Open confuseder opened 6 months ago

confuseder commented 6 months ago

Verify steps

Mihomo version

v1.18.1

What OS are you seeing the problem on?

Linux

Mihomo config

ipv6: true
allow-lan: true
mixed-port: 7890
unified-delay: false
tcp-concurrent: true
external-controller: 0.0.0.0:9090
external-ui: ui
# external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"

Mihomo log

No response

Description

Clash Meta手动将前端UI解压放进去后访问assets里的资源会403报错

xishang0128 commented 6 months ago

执行ls -al ${homodir}/ui,并贴出结果,homodir自行修改为mihomo的工作目录

xishang0128 commented 5 months ago

@E021ntox ui不会自动下载,需要手动触发api

xishang0128 commented 5 months ago

@E021ntox 这不是一个好的行为,而且会消耗额外,不必要的内存

LordHumphrey commented 2 months ago

@E021ntox ui不会自动下载,需要手动触发api

手动触发哪个api,现在UI不会自动更新啊,重启了也还是老版本的,而且不知道存到哪里去了,配置的目录是空的

vj23456 commented 2 months ago

@LordHumphrey 根据你配置文件来的

LordHumphrey commented 2 months ago

image 配置文件没有写明目录,默认应该是UI吧,访问连接404呀,谢谢兄弟。 image

获取可以加一个开关,是否默认下载到本地