Skip to content

Commit

Permalink
fix(examples): nossr with fallback middleware (#1197)
Browse files Browse the repository at this point in the history
otherwise, reloading `http://localhost:3000/about` becomes 404.
  • Loading branch information
dai-shi authored Jan 28, 2025
1 parent ea21e74 commit 8b6d148
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/12_nossr/waku.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { defineConfig } from 'waku/config';

export default defineConfig({
middleware: () => [
import('waku/middleware/context'),
import('waku/middleware/dev-server'),
import('waku/middleware/handler'),
import('waku/middleware/fallback'),
],
});

0 comments on commit 8b6d148

Please sign in to comment.