Skip to content

Commit

Permalink
Merge pull request github#36100 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jan 29, 2025
2 parents 88e1373 + 86b2502 commit ff7e697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------------
# To update the sha:
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250108-185521-gcd4825276 AS base
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250123-155214-g35c40bd2b AS base

# Install git for cloning docs-early-access & translations repos
# Install curl for determining the early access branch
Expand Down
2 changes: 1 addition & 1 deletion src/events/components/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function getReferrer(documentReferrer: string) {
// new URL() throws an error if not a valid URL
const referrerUrl = new URL(documentReferrer)
if (!referrerUrl.pathname || referrerUrl.pathname === '/') {
return referrerUrl.origin + previousPath
return location.origin + previousPath
}
} catch {}
return documentReferrer
Expand Down

0 comments on commit ff7e697

Please sign in to comment.