Skip to content

Commit ba933b6

Browse files
LucdoOfjessarcher
andauthored
Added default app url
Co-authored-by: Jess Archer <[email protected]>
1 parent efac566 commit ba933b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function resolveLaravelPlugin(pluginConfig: Required<PluginConfig>): LaravelPlug
147147
const hotFile = path.join(pluginConfig.publicDirectory, 'hot')
148148

149149
const envDir = resolvedConfig.envDir || process.cwd()
150-
const appUrl = loadEnv(resolvedConfig.mode, envDir, 'APP_URL').APP_URL
150+
const appUrl = loadEnv(resolvedConfig.mode, envDir, 'APP_URL').APP_URL ?? 'undefined'
151151

152152
server.httpServer?.once('listening', () => {
153153
const address = server.httpServer?.address()

0 commit comments

Comments
 (0)