trying to change mime type of Blob

pull/5370/head
Joseph Izang 1 year ago
parent 615bb0237e
commit 3a4253e211
  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