We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed94193 commit 85010ceCopy full SHA for 85010ce
1 file changed
src/cli.ts
@@ -35,7 +35,7 @@ async function main() {
35
inputDirectory: "",
36
outputDirectory: "",
37
baseURL:
38
- (process.env.context === "production" ? process.env.URL : process.env.DEPLOY_PRIME_URL) ||
+ (process.env.context === "production" ? process.env.BASE_URL : process.env.DEPLOY_PRIME_URL) ||
39
"http://localhost:8082",
40
logger: {
41
info: () => {},
@@ -145,6 +145,8 @@ async function main() {
145
fs.mkdirSync(options.outputDirectory)
146
}
147
148
+ options.logger?.info("Base URL:", options.baseURL)
149
+
150
await staticbuild(options)
151
152
0 commit comments