This commit is contained in:
Leandro Doctors 2023-11-01 01:57:22 -06:00 committed by GitHub
commit 8b66963694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ Let's apply a small change to our ```ns3```. We'll replace our router by two dif
["/ping" ::ping]]) ["/ping" ::ping]])
(def dev-router #(r/router (routes))) ;; A router for dev (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 ! And there you have it, dynamic during dev, performance at production. We have it all !