mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
host allow list updated.
This commit is contained in:
@@ -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() {
|
||||
});
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user