站点首页此前显示的是 Dashy 上游的 logo —— index.html 里那几条
<link rel=icon href=/web-icons/favicon-*.png> 优先级高于我们的门户图标,
而扩展的 PNG 是占位图(128px 只有 9 种颜色、alpha 通道还是乱的)。
- portal/favicon.svg:纸飞机(圆角渐变底 + 白色折纸机头朝右上 + 两道尾迹),
几何收在 8..56 安全区,避免贴边被圆角裁切
- 由该 SVG 派生 favicon.ico(16/32/48)、apple-touch-icon(180)、
web-icons/favicon-{16,32,64}、扩展 icon{16,48,96,128}
- patch-index.py:删掉上游 icon link 并显式指向 /favicon.svg(幂等,
重复执行 unchanged);上游 web-icons 那批也覆盖一份作双保险
- Dockerfile 与 zd-host.sh 都 COPY 这些图标进镜像
- 验证:nginx 沙箱实测 /favicon.svg、/web-icons/*、/apple-touch-icon.png 均 200;
16px 下人眼仍可辨识为纸飞机
- .amo-upload-uuid(web-ext 生成的 UUID)改为忽略
38 lines
576 B
Plaintext
38 lines
576 B
Plaintext
# Data and private deployment config
|
||
/data/
|
||
conf.yml
|
||
|
||
# Environment
|
||
.env
|
||
|
||
# IDE
|
||
.vscode/
|
||
.idea/
|
||
|
||
# Go
|
||
gateway/navi-gateway
|
||
|
||
# OS
|
||
.DS_Store
|
||
Thumbs.db
|
||
.codegraph/
|
||
|
||
# Go build output
|
||
history-server/history-server
|
||
admin-server/admin-server
|
||
# go test/vet 的临时工作目录(/tmp 满时用 GOTMPDIR 指到这里)
|
||
/.build-work/
|
||
|
||
# Python 缓存
|
||
__pycache__/
|
||
*.pyc
|
||
|
||
# 本机 agent 工具的会话产物,不入库
|
||
# web-ext sign 生成的工具产物(UUID 上传标识),不入库
|
||
.amo-upload-uuid
|
||
**/.amo-upload-uuid
|
||
|
||
# pi 任务日志/产物,不入库
|
||
.pi/
|
||
.pi-glla/
|