winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.75k stars 186 forks source link

Files are uploaded as base64 in Wing Console by default #6603

Open eladb opened 3 weeks ago

eladb commented 3 weeks ago

I tried this:

Upload a source code file (*.ts, *.w) file to a bucket through the Wing Console file browser

This happened:

The content was encoded as base64 instead of plain/text.

I expected this:

I think we should either auto-discover mimetypes based on extension or allow the user to decide how to store the file.

Is there a workaround?

No response

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes