kopia lustrzana https://github.com/backface/turtlestitch
oh dear! 2e20 is *not* 2**20...whoops
rodzic
19243fa538
commit
16db64c9d5
|
@ -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',
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue