From 5c1f67a7186f09bcb3d74c1be9145329cd0f3bb8 Mon Sep 17 00:00:00 2001 From: Kevin Kipp Date: Fri, 24 Jan 2025 12:05:53 -0600 Subject: [PATCH 1/2] Fix customer code embeds --- src/useIframeSrc.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useIframeSrc.tsx b/src/useIframeSrc.tsx index 5d57c52..bedc8c0 100644 --- a/src/useIframeSrc.tsx +++ b/src/useIframeSrc.tsx @@ -53,7 +53,7 @@ export function useIframeSrc( const iframeSrc = useMemo( () => customerCode - ? `https://customer-${customerCode}.cloudflarestream.com/${src}?${paramString}` + ? `https://customer-${customerCode}.cloudflarestream.com/${src}/iframe?${paramString}` : `https://iframe.cloudflarestream.com/${src}?${paramString}`, // we intentionally do NOT include paramString here because we want // to avoid changing the URL when these options change. Changes to From 2160bc17abf3c27920f56f65d3f3c45ef569e73f Mon Sep 17 00:00:00 2001 From: Kevin Kipp Date: Fri, 24 Jan 2025 12:09:06 -0600 Subject: [PATCH 2/2] Add .prettierignore --- .github/workflows/semgrep.yml | 4 ++-- .prettierignore | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .prettierignore diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index b40314b..bb1d808 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,12 +1,12 @@ on: pull_request: {} workflow_dispatch: {} - push: + push: branches: - main - master schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" name: Semgrep config jobs: semgrep: diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..5370162 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +.yarn +