Jabolol / raven

See your friends BeReals without posting and more!
https://raven.deno.dev/
MIT License
12 stars 2 forks source link

hotfix: update `bereal` headers #14

Closed Jabolol closed 5 months ago

Jabolol commented 5 months ago

This PR closes #12 and #13 by refreshing the expired headers Bereal-Signature and Bereal-Device-Id. Additionally, it adjusts Bereal-Timezone to prevent API errors caused by timezone discrepancies during signature creation.

It also makes BEREAL_SIGNATURE,BEREAL_DEVICE_ID and BEREAL_TIMEZONE env variables. This removes hard-coded variables from the code, easing self-hosting.