This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-08
Channels
- # announcements (7)
- # babashka (44)
- # beginners (162)
- # cider (22)
- # clara (11)
- # clj-kondo (14)
- # cljsrn (8)
- # clojure (91)
- # clojure-dev (24)
- # clojure-europe (6)
- # clojure-france (4)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-spec (11)
- # clojure-uk (14)
- # clojurescript (92)
- # community-development (1)
- # core-logic (1)
- # cryogen (1)
- # cursive (6)
- # data-science (3)
- # datahike (3)
- # datomic (32)
- # degree9 (3)
- # dirac (3)
- # emacs (9)
- # eql (1)
- # events (1)
- # find-my-lib (1)
- # fulcro (67)
- # graphql (13)
- # helix (9)
- # jobs (1)
- # jobs-discuss (92)
- # leiningen (31)
- # malli (8)
- # meander (3)
- # news-and-articles (1)
- # off-topic (46)
- # pathom (2)
- # practicalli (1)
- # re-frame (52)
- # reitit (12)
- # shadow-cljs (40)
- # spacemacs (10)
- # sql (4)
- # xtdb (8)
is this outdated: https://github.com/metosin/reitit/issues/84? Just updated to 0.5.2 and seems like it already is using a new UI at least
@tommi.jalkanen Still valid issue. The swagger-ui 3.0 support both 2.0 & 3.0 spec. reitit is still on 2.0 spec.
👍 3
great! added a comment into the issue: https://github.com/metosin/reitit/issues/84#issuecomment-640593439
Hello all I am using
(ring/ring-handler
(ring/router
[...
But I need to implement ring.middleware.cors
. Not sure where I can add this middleware into :data :middleware.. Any help greatly appreciatedI believe reitit now exposes an :options
mapping, so you can specify - per route - which options are supported.
@dharrigan hmm ok will take a look
So just noticing that the default options just returns 200
HTTP/1.1 200 OK
Allow: GET,OPTIONS
Content-Length: 0
Server: http-kit
Date: Mon, 08 Jun 2020 15:58:45 GMT
<Response body is empty>
This obviously is not enough with CORS