Skip to content

Commit ff13f54

Browse files
committed
Add VITE_DOMAIN_NAME To The Allowed Hosts
Signed-off-by: Tal Jacob <taljacob2@gmail.com>
1 parent 221f168 commit ff13f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nextstep-frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig({
1111
server: {
1212
port: parseInt(process.env.VITE_PORT || '5000'),
1313
host: process.env.VITE_DOMAIN_NAME || 'localhost',
14-
allowedHosts: ['nextstep.theworkpc.com']
14+
allowedHosts: [process.env.VITE_DOMAIN_NAME || 'localhost']
1515
},
1616
preview: {
1717
port: parseInt(process.env.VITE_PORT || '5000'),

0 commit comments

Comments
 (0)