2min chapter

Frontend First cover image

Why we’re adding a CMS to Build UI

Frontend First

CHAPTER

Rails Database Per Environment - Can I Watch This Video?

Rails app is going to check if you have access and if you do, it's just going to read the video data out of the database. But now you kind of need, you can't just go to your CMS and say, hey, can I watch this video? Because like if we're using like sanity, it's outside of our they don't know. They're just their CMS. So that uses the token, like the session, the user session from the client. And so the question now is how to use that to fetch to make sure that you can only get the iframe of the actual thing if you're logged in. If you're not logged in, you

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode