We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efac566 commit ba933b6Copy full SHA for ba933b6
src/index.ts
@@ -147,7 +147,7 @@ function resolveLaravelPlugin(pluginConfig: Required<PluginConfig>): LaravelPlug
147
const hotFile = path.join(pluginConfig.publicDirectory, 'hot')
148
149
const envDir = resolvedConfig.envDir || process.cwd()
150
- const appUrl = loadEnv(resolvedConfig.mode, envDir, 'APP_URL').APP_URL
+ const appUrl = loadEnv(resolvedConfig.mode, envDir, 'APP_URL').APP_URL ?? 'undefined'
151
152
server.httpServer?.once('listening', () => {
153
const address = server.httpServer?.address()
0 commit comments