oh dear! 2e20 is *not* 2**20...whoops

pull/89/head
Michael Ball 2019-01-24 02:32:40 -08:00
rodzic 19243fa538
commit 16db64c9d5
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ Cloud.prototype.init = function () {
};
// Projects larger than this are rejected.
Cloud.MAX_FILE_SIZE = 10 * 2e20;
Cloud.MAX_FILE_SIZE = 10 * 1024 * 1024;
Cloud.prototype.knownDomains = {
'Snap!Cloud' : 'https://cloud.snap.berkeley.edu',

Wyświetl plik

@ -5620,6 +5620,7 @@ IDE_Morph.prototype.verifyProject = function (body) {
return false;
}
console.log(encodedBody.length)
// check if serialized data can be parsed back again
try {
this.serializer.parse(body.xml);