coder / coder/code-server

[Bug]: PWA Icon Doesn't Display When Using Reverse Proxy

未关闭
#5,248 30 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
79.3k
派生
6.8k
平均合并
2 天 6 小时
30 天内合并 PR
41

描述

### Is there an existing issue for this?

- [X] I have searched the existing issues

### OS/Web Information

- Web Browser: Safari
- Local OS: iPadOS 15.5
- Remote OS: Libreelec (Linux Server Docker)
- Remote Architecture: x86_64
- `code-server --version`: v4.4.0

### Steps to Reproduce

1. Reverse Proxy code-server
2. Open code-server via the proxied subdomain on an iPad using Safari
3. Tap the Share Button
4. Press Add to Home Screen

### Expected

The home screen icon should resemble the favicons in the favicon folder

### Actual

See the home screen icon which is a screenshot of the VS Code workbench (current page view)

### Logs

_No response_

### Screenshot/Video

![image](https://user-images.githubusercontent.com/26024131/172608685-e9797486-bcf6-4697-b18b-081db3135f4f.jpeg)

### Does this issue happen in VS Code?

- [X] I cannot reproduce this in VS Code.

### Are you accessing code-server over HTTPS?

- [X] I am using HTTPS.

### Notes

Tried to add favicon routes using Nginx but that didn't work either.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。