lune-org/lune

remodel.luau uploading assets doesn't work

Closed this issue · 1 comments

fewkz commented

The remodel.luau file in the docs doesn't work when uploading assets, it gives a 500 error when uploading the asset. The issue is caused by the "Content-Type" header, which seems to only work when set to application/xml; charset=utf-8 instead of application/octet-stream, even when uploading binary data.

fewkz commented

nevermind, turns out the endpoint was just failing half the time, no correlation to content-type. the endpoint doesn't even care what content-type you give it