charliewilco / reubin

An RSS service for doomscrollers 🛰📡📰
reubin-site.vercel.app
Other
0 stars 1 forks source link

Authorized Requests #18

Closed charliewilco closed 1 year ago

charliewilco commented 1 year ago

with the way API calls were sent on the server components, we needed a way to authorize from the cookie provided. now there's a new function to resolve this issue: authorizeRequest(cookieObject, requestPromise)

const nextCookies = cookies();
const _ = use(authorizeRequest(nextCookies, getFeeds()));
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
reubin ✅ Ready (Inspect) Visit Preview Dec 28, 2022 at 9:24AM (UTC)