this post was submitted on 07 Jan 2024
697 points (93.6% liked)
Technology
59979 readers
3275 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It doesn't seem to work for me. When I put a sub in there I get a blank page.
Check the console of your browser. Browser's aggressive privacy controls may be automatically blocking the json call to reddit's api. (right click, inspect element)
It isn’t the browser being aggressive. It’s a protection called CORS (Cross Origin Resource Sharing) and you should configure your API to allow it.
There are likely loads of guides whatever language / framework you are using. Users shouldn’t need to disable CORS protections to use your site