Skip to content

Commit 85010ce

Browse files
committed
Log out base URL
1 parent ed94193 commit 85010ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535
inputDirectory: "",
3636
outputDirectory: "",
3737
baseURL:
38-
(process.env.context === "production" ? process.env.URL : process.env.DEPLOY_PRIME_URL) ||
38+
(process.env.context === "production" ? process.env.BASE_URL : process.env.DEPLOY_PRIME_URL) ||
3939
"http://localhost:8082",
4040
logger: {
4141
info: () => {},
@@ -145,6 +145,8 @@ async function main() {
145145
fs.mkdirSync(options.outputDirectory)
146146
}
147147

148+
options.logger?.info("Base URL:", options.baseURL)
149+
148150
await staticbuild(options)
149151
}
150152

0 commit comments

Comments
 (0)