trying to change mime type of Blob

pull/4182/head
Joseph Izang 1 year ago
parent 4476180f80
commit 5ca7e51c78
  1. 2
      apps/vyper/src/app/utils/compiler.tsx

@ -47,7 +47,7 @@ export async function compile(url: string, contract: Contract): Promise<VyperCom
const files = new FormData();
const content = new Blob([contract.content], {
type: 'text/plain'
type: 'text/python'
});
files.append("files", content, `${contract.name}.vy`)
files.append('vyper_version', '0.3.10')

Loading…
Cancel
Save