Skip to content

Commit

Permalink
Stop Cider from asking us whether it should open our browser
Browse files Browse the repository at this point in the history
Since we're serving the static assets via wrangler -- to bypass building out CORS support in the
backend -- we don't connect to the URL that Cider gives us.

The better dev experience would be to add CORS support to the backend so it matches the normal Cider
experience. Also, CORS is "good", in the general way that it's security best practice, but not in
the way that I can speak definitively about its pros and cons. One day it'll get added, if it's
necessary and good.
  • Loading branch information
futuro committed Aug 31, 2023
1 parent b096772 commit 1e21828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
((nil . ((cider-default-cljs-repl . shadow)
(cider-shadow-default-options . "client"))))
(cider-shadow-default-options . "client")
(cider-offer-to-open-cljs-app-in-browser . nil))))

0 comments on commit 1e21828

Please sign in to comment.