Fixes #4185 - Correct the bug report service submission URL after updating how secrets are configured.

- introduced in 54f4aeda4f
This commit is contained in:
Stefan Ceriu
2025-06-11 09:16:40 +03:00
committed by Stefan Ceriu
parent d2da2ed5d4
commit 0d15086c1c

View File

@@ -107,7 +107,7 @@ class BugReportService: NSObject, BugReportServiceProtocol {
} }
body.appendString(string: "--\(boundary)--\r\n") body.appendString(string: "--\(boundary)--\r\n")
var request = URLRequest(url: baseURL.appendingPathComponent("submit")) var request = URLRequest(url: baseURL)
request.addValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type") request.addValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
request.httpMethod = "POST" request.httpMethod = "POST"