fix: search button
This commit is contained in:
@ -69,7 +69,7 @@ const options = {
|
||||
const bundler = new Bundler('./src/index.pug', options);
|
||||
bundler.addAssetType('html', require.resolve('./assets.js'));
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
await bundler.serve();
|
||||
await bundler.serve(process.env.PORT ? process.env.PORT : 1234);
|
||||
} else {
|
||||
await bundler.bundle();
|
||||
}
|
||||
|
Reference in New Issue
Block a user