flypod 0.10.0 → 0.10.1
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/bin/deploy.js +1 -1
- package/package.json +1 -1
package/dist/bin/deploy.js
CHANGED
|
@@ -953,7 +953,7 @@ async function rollback(args, io) {
|
|
|
953
953
|
return failSiteRequest("flypod rollback", res, target, args, io, env);
|
|
954
954
|
const body = await res.json();
|
|
955
955
|
await touchLink(target, body.live_version_id, env);
|
|
956
|
-
const url = target.rec?.url ?? siteUrlFrom(target.site_id, client.baseUrl);
|
|
956
|
+
const url = body.url ?? target.rec?.url ?? siteUrlFrom(target.site_id, client.baseUrl);
|
|
957
957
|
if (args.json) {
|
|
958
958
|
io.out(JSON.stringify({
|
|
959
959
|
ok: true,
|
package/package.json
CHANGED