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.
This PR closes #12 and #13 by refreshing the expired headers
Bereal-Signature
andBereal-Device-Id
. Additionally, it adjustsBereal-Timezone
to prevent API errors caused by timezone discrepancies during signature creation.It also makes
BEREAL_SIGNATURE
,BEREAL_DEVICE_ID
andBEREAL_TIMEZONE
env variables. This removes hard-coded variables from the code, easing self-hosting.