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 摘要。