Update URL templates to use opts objects

This commit is contained in:
Alex Gleason committed 2026-01-14 11:16:40 -06:00
1 parent 5d075e02ab
commit a8eec32842
23 files changed
+67 -50

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ export function NetlifyDeployForm({
try {
const url = `${baseURL}/sites`;
const targetUrl = corsProxy ? proxyUrl(corsProxy, url) : url;
const targetUrl = corsProxy ? proxyUrl({ template: corsProxy, url }) : url;
const response = await fetch(targetUrl, {
headers: {