@kumori/aurora-backend-handler 1.1.28 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,6 +67,7 @@ export const deployService = async (data: Service, token: string) => {
|
|
|
67
67
|
const response = await fetch(url.toString(), {
|
|
68
68
|
method: "POST",
|
|
69
69
|
body: formData,
|
|
70
|
+
credentials: "include",
|
|
70
71
|
});
|
|
71
72
|
if (!response.ok) {
|
|
72
73
|
const jsonResponse = await response.json();
|
|
@@ -122,6 +123,7 @@ export const redeployService = async (data: Service) => {
|
|
|
122
123
|
const response = await fetch(url.toString(), {
|
|
123
124
|
method: "POST",
|
|
124
125
|
body: formData,
|
|
126
|
+
credentials: "include",
|
|
125
127
|
});
|
|
126
128
|
|
|
127
129
|
if (!response.ok) {
|
|
@@ -448,6 +450,7 @@ export const updateService = async (
|
|
|
448
450
|
const response = await fetch(url.toString(), {
|
|
449
451
|
method: "POST",
|
|
450
452
|
body: formData,
|
|
453
|
+
credentials: "include",
|
|
451
454
|
});
|
|
452
455
|
if (!response.ok) {
|
|
453
456
|
throw new Error(`HTTP error! status: ${response.status}`);
|