From 1e218283aa0eb2d1442460eb0b626c0c45e0bfdc Mon Sep 17 00:00:00 2001 From: Evan Niessen-Derry Date: Thu, 31 Aug 2023 15:40:55 -0500 Subject: [PATCH] Stop Cider from asking us whether it should open our browser 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. --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index c94b295..44e8bcc 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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))))