@gallop.software/studio 2.3.4 → 2.3.5
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.
package/dist/client/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
12
12
|
}
|
|
13
13
|
</style>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-DsEoojtQ.js"></script>
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="root"></div>
|
package/dist/server/index.js
CHANGED
|
@@ -1493,6 +1493,7 @@ async function handleSync(request) {
|
|
|
1493
1493
|
credentials: { accessKeyId, secretAccessKey }
|
|
1494
1494
|
});
|
|
1495
1495
|
const pushed = [];
|
|
1496
|
+
const alreadyPushed = [];
|
|
1496
1497
|
const errors = [];
|
|
1497
1498
|
const sourceFolders = /* @__PURE__ */ new Set();
|
|
1498
1499
|
for (let imageKey of imageKeys) {
|
|
@@ -1507,7 +1508,7 @@ async function handleSync(request) {
|
|
|
1507
1508
|
const existingCdnUrl = entry.c !== void 0 ? cdnUrls[entry.c] : void 0;
|
|
1508
1509
|
const isAlreadyInOurR2 = existingCdnUrl === publicUrl;
|
|
1509
1510
|
if (isAlreadyInOurR2) {
|
|
1510
|
-
|
|
1511
|
+
alreadyPushed.push(imageKey);
|
|
1511
1512
|
continue;
|
|
1512
1513
|
}
|
|
1513
1514
|
const isRemote = entry.c !== void 0 && existingCdnUrl !== publicUrl;
|
|
@@ -1580,6 +1581,7 @@ async function handleSync(request) {
|
|
|
1580
1581
|
return jsonResponse({
|
|
1581
1582
|
success: true,
|
|
1582
1583
|
pushed,
|
|
1584
|
+
alreadyPushed: alreadyPushed.length > 0 ? alreadyPushed : void 0,
|
|
1583
1585
|
errors: errors.length > 0 ? errors : void 0
|
|
1584
1586
|
});
|
|
1585
1587
|
} catch (error) {
|