Skip to content

Commit e41dd72

Browse files
committed
chore: wip
1 parent c7c8d86 commit e41dd72

File tree

1 file changed

+2
-1
lines changed
  • storage/framework/core/vite-config/src

1 file changed

+2
-1
lines changed

storage/framework/core/vite-config/src/views.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { ViteConfig } from '@stacksjs/types'
22
import { alias } from '@stacksjs/alias'
3+
import { env } from '@stacksjs/env'
34
import { path as p } from '@stacksjs/path'
45
import { server } from '@stacksjs/server'
56
import {
@@ -64,7 +65,7 @@ export const viewsConfig: ViteConfig = {
6465

6566
plugins: [
6667
Local({
67-
domain: 'stacks.localhost', // default: stacks.localhost
68+
domain: env.APP_URL ?? 'stacks.localhost',
6869
https: true, // Use default SSL config, pass TlsConfig options to customize
6970
cleanup: {
7071
hosts: true, // Clean up relating /etc/hosts entry

0 commit comments

Comments
 (0)