Skip to content

Commit

Permalink
fix: flag accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
sarat1669 committed Sep 26, 2024
1 parent 659c246 commit d27d460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/waku/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async function runDev() {
const honoEnhancer = config.unstable_honoEnhancer || ((app) => app);
const app = new Hono();
app.use(contextStorage());
if (values['--experimental-compress']) {
if (values['experimental-compress']) {
app.use(compress());
}
app.use('*', runner({ cmd: 'dev', config, env: process.env as any }));
Expand Down Expand Up @@ -151,7 +151,7 @@ async function runStart() {
import(pathToFileURL(path.resolve(distDir, DIST_ENTRIES_JS)).toString());
const app = new Hono();
app.use(contextStorage());
if (values['--experimental-compress']) {
if (values['experimental-compress']) {
app.use(compress());
}
app.use('*', serveStatic({ root: path.join(distDir, DIST_PUBLIC) }));
Expand Down

0 comments on commit d27d460

Please sign in to comment.