host allow list updated.

This commit is contained in:
Nirmal Arya
2025-06-10 22:40:37 -04:00
parent d2afa85dd5
commit bad6639821

View File

@@ -11,7 +11,6 @@ import { join } from 'path';
dotenv.config();
// Get detailed git info with fallbacks
const getGitInfo = () => {
try {
return {
@@ -40,7 +39,6 @@ const getGitInfo = () => {
}
};
// Read package.json with detailed dependency info
const getPackageJson = () => {
try {
const pkgPath = join(process.cwd(), 'package.json');
@@ -94,6 +92,10 @@ export default defineConfig((config) => {
build: {
target: 'esnext',
},
server: {
allowedHosts: ['buildify.phexhub-np.int.bayer.com', 'localhost'],
host: true,
},
plugins: [
nodePolyfills({
include: ['buffer', 'process', 'util', 'stream'],
@@ -173,4 +175,4 @@ function chrome129IssuePlugin() {
});
},
};
}
}