mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 18:26:17 +00:00
revert(cli): keep HeyGen API traffic on stable prod (#3202)
* Revert "fix(cli): route HeyGen API calls through canary (#3201)"
This reverts commit 5545521556.
* fix(cli): remove remaining EF canary routes
This commit is contained in:
@@ -551,7 +551,7 @@ afterEach(() => {
|
||||
vi.unstubAllEnvs();
|
||||
});
|
||||
|
||||
const jsonHeaders = { "content-type": "application/json", heygen_route: "canary" };
|
||||
const jsonHeaders = { "content-type": "application/json" };
|
||||
const signedStagedS3Url =
|
||||
"https://s3.example.com/upload?X-Amz-SignedHeaders=content-length;content-type;host;x-amz-server-side-encryption";
|
||||
|
||||
@@ -662,7 +662,7 @@ describe("publishProjectArchive", () => {
|
||||
expect(fetchMock).toHaveBeenCalledTimes(2);
|
||||
expectFetchCall(fetchMock, 2, "https://api2.heygen.com/v1/hyperframes/projects/publish", {
|
||||
method: "POST",
|
||||
headers: { heygen_route: "canary" },
|
||||
headers: {},
|
||||
});
|
||||
} finally {
|
||||
rmSync(dir, { recursive: true, force: true });
|
||||
|
||||
Reference in New Issue
Block a user