We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd1adf7 + b95b74e commit 3632992Copy full SHA for 3632992
1 file changed
gatsby-config.js
@@ -17,7 +17,7 @@ const rawPrefix = process.env.PATH_PREFIX;
17
const pathPrefix =
18
rawPrefix && String(rawPrefix).trim().length
19
? `/${String(rawPrefix).replace(/^\/+|\/+$/g, "")}`
20
- : undefined;
+ : "";
21
22
const siteRootUrl = `${siteOrigin}${pathPrefix}`.replace(/\/$/, "");
23
const shouldBuildFullSite = isFullSiteBuild();
0 commit comments