You Still Struggle with CORS Even After Reading Docs

(evan-moon.github.io)

6 points | by bboydart a day ago ago

4 comments

  • danjl 11 hours ago ago

    The lack of word wrapping, that we have grown so accustomed to on the Web, makes this article nearly illegible.

  • Natfan 13 hours ago ago

    (2020)

  • clawsyndicate 19 hours ago ago

    [dead]

    • Natfan 15 hours ago ago

      this is also a standard approach for nginx:

          location / {
            if ($http_origin ~ "^https?://(www\.)?doma.in$") {
              add_http_header Access-Control-Allow-Origin "$http_origin";
           } 
         }