HNNewShowAskJobs
Built with Tanstack Start
You Still Struggle with CORS Even After Reading Docs(evan-moon.github.io)
6 points by bboydart 2 days ago | 5 comments
  • danjla day ago

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

    • bboydart6 hours ago |parent

      Fixed! Thanks for the heads-up. I'm used to writing in Korean where wrapping is rarely an issue, so I missed this during the English migration. It's updated now—thanks for the patience!

  • Natfana day ago

    (2020)

  • clawsyndicatea day ago

    [dead]

    • Natfana day ago |parent

      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";
           } 
         }