Skip to content

Commit ff7e697

Browse files
authored
Merge pull request #36100 from github/repo-sync
Repo sync
2 parents 88e1373 + 86b2502 commit ff7e697

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# --------------------------------------------------------------------------------
88
# To update the sha:
99
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
10-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250108-185521-gcd4825276 AS base
10+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250123-155214-g35c40bd2b AS base
1111

1212
# Install git for cloning docs-early-access & translations repos
1313
# Install curl for determining the early access branch

src/events/components/events.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function getReferrer(documentReferrer: string) {
136136
// new URL() throws an error if not a valid URL
137137
const referrerUrl = new URL(documentReferrer)
138138
if (!referrerUrl.pathname || referrerUrl.pathname === '/') {
139-
return referrerUrl.origin + previousPath
139+
return location.origin + previousPath
140140
}
141141
} catch {}
142142
return documentReferrer

0 commit comments

Comments
 (0)