Skip to content

Commit

Permalink
Added cloud branch build.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Feb 10, 2025
1 parent bce70c1 commit 3e2f97c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- analytics
- cloud

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions src/pages/api/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {

if (!urlPath) {
urlPath = '/';
} else {
urlPath = urlPath.replace(/([\w]+:\/\/.*\/)/, '/');
}

if (/^[\w-]+:\/\/\w+/.test(referrerPath)) {
Expand Down

0 comments on commit 3e2f97c

Please sign in to comment.