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 c7c8d86 commit e41dd72Copy full SHA for e41dd72
storage/framework/core/vite-config/src/views.ts
@@ -1,5 +1,6 @@
1
import type { ViteConfig } from '@stacksjs/types'
2
import { alias } from '@stacksjs/alias'
3
+import { env } from '@stacksjs/env'
4
import { path as p } from '@stacksjs/path'
5
import { server } from '@stacksjs/server'
6
import {
@@ -64,7 +65,7 @@ export const viewsConfig: ViteConfig = {
64
65
66
plugins: [
67
Local({
- domain: 'stacks.localhost', // default: stacks.localhost
68
+ domain: env.APP_URL ?? 'stacks.localhost',
69
https: true, // Use default SSL config, pass TlsConfig options to customize
70
cleanup: {
71
hosts: true, // Clean up relating /etc/hosts entry
0 commit comments