Missing CORS prevents third-party web clients
Missing CORS prevents third-party web clients
Hey Beehaw mods!
I'm currently working on a Lemmy web client, but the lack of proper CORS headers is preventing anything from working :(
I just wanted to ask if the appropriate CORS headers could be added to the front-facing proxy layer. If you're using Caddy, I believe something like this should do the trick:
reverse_proxy ... {
header_down Access-Control-Allow-Origin *
header_down Access-Control-Allow-Methods *
header_down Access-Control-Allow-Headers *
}
Relevant issue: https://github.com/LemmyNet/lemmy/issues/3109
You're viewing a single thread.
All comments
10
comments
Not a mod but looking forward to see what you come up with. Not a. If fan of the lemmy web ui
2 0 ReplyHere's what I have planned at the moment: https://hachyderm.io/@diamond/110564684274449852
I don't plan on making it feature-complete, just enough to be a Lemmy reader with some reply capabilities.
1 0 Reply
10
comments
Scroll to top