change mime type to vy

pull/5370/head
Joseph Izang 1 year ago
parent 3a4253e211
commit 6ef9469ba0
  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 files = new FormData();
const content = new Blob([contract.content], { const content = new Blob([contract.content], {
type: 'text/python' type: 'text/vy'
}); });
files.append("files", content, `${contract.name}.vy`) files.append("files", content, `${contract.name}.vy`)
files.append('vyper_version', '0.3.10') files.append('vyper_version', '0.3.10')

Loading…
Cancel
Save