log
All checks were successful
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 48s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m25s

This commit is contained in:
matst80
2025-11-07 13:36:57 +01:00
parent d969da428f
commit e662c7dafa

View File

@@ -146,6 +146,7 @@ func (h *RemoteHost) AnnounceExpiry(uids []uint64) {
func (h *RemoteHost) Proxy(id uint64, w http.ResponseWriter, r *http.Request) (bool, error) { func (h *RemoteHost) Proxy(id uint64, w http.ResponseWriter, r *http.Request) (bool, error) {
target := fmt.Sprintf("%s%s", h.httpBase, r.URL.RequestURI()) target := fmt.Sprintf("%s%s", h.httpBase, r.URL.RequestURI())
log.Printf("proxy target: %s, method: %s", target, r.Method)
req, err := http.NewRequestWithContext(r.Context(), r.Method, target, r.Body) req, err := http.NewRequestWithContext(r.Context(), r.Method, target, r.Body)
if err != nil { if err != nil {
http.Error(w, "proxy build error", http.StatusBadGateway) http.Error(w, "proxy build error", http.StatusBadGateway)