Commit 552763d
committed
Allow Frontend To Be Hosted On Other Domain Names
The Vite configuration has been updated to use
the `VITE_DOMAIN_NAME` environment variable for
the host in both the server and preview sections.
Now, if the `.env` file sets
`VITE_DOMAIN_NAME=0.0.0.0`, the frontend will be
exposed on all network interfaces.
Signed-off-by: Tal Jacob <taljacob2@gmail.com>1 parent 83ce4c8 commit 552763d
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
0 commit comments