mirror of
https://github.com/metosin/reitit.git
synced 2026-02-25 10:32:24 +00:00
Merge dd27ab6792 into 620d0c2711
This commit is contained in:
commit
8b66963694
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ Let's apply a small change to our ```ns3```. We'll replace our router by two dif
|
|||
["/ping" ::ping]])
|
||||
|
||||
(def dev-router #(r/router (routes))) ;; A router for dev
|
||||
(def prod-router (constantly (r/router (routes)))) ;; A router for prod
|
||||
(def prod-router (r/router (routes))) ;; A router for prod
|
||||
```
|
||||
|
||||
And there you have it, dynamic during dev, performance at production. We have it all !
|
||||
|
|
|
|||
Loading…
Reference in a new issue