Merge branch 'main' into fastlink-to-original-pdf
This commit is contained in:
commit
865d3a7442
|
@ -171,10 +171,12 @@ function Form(): JSX.Element {
|
|||
try {
|
||||
const payload = await getPayloadBodyFromFile(file);
|
||||
|
||||
const buffer = Buffer.from(await new Response(file).arrayBuffer());
|
||||
let dataUrl = `data:${file.type};base64,${buffer.toString("base64")}`;
|
||||
//TODO: feature flagging
|
||||
|
||||
// const buffer = Buffer.from(await new Response(file).arrayBuffer());
|
||||
// let dataUrl = `data:${file.type};base64,${buffer.toString("base64")}`;
|
||||
|
||||
payload.dataUrl = dataUrl;
|
||||
// payload.dataUrl = dataUrl;
|
||||
|
||||
setPayloadBody(payload);
|
||||
setFileLoading(false);
|
||||
|
|
|
@ -4,7 +4,7 @@ import { Integrations } from '@sentry/tracing';
|
|||
export const initSentry = () => {
|
||||
SentryModule.init({
|
||||
release: 'grassroots_covidpass@2.2.5', // App version. Needs to be manually updated as we go unless we make the build smarter
|
||||
dsn: 'https://7120dcf8548c4c5cb148cdde2ed6a778@o1015766.ingest.sentry.io/5981424',
|
||||
dsn: 'https://51370d7af0994761b465bc148129c1de@o997324.ingest.sentry.io/5955697', // this is the sponsored account for use going forward
|
||||
integrations: [
|
||||
new Integrations.BrowserTracing(),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue