From e97a641e9547b8b5268a7246c2b313a63044eaa2 Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Wed, 21 Dec 2016 13:15:13 +0100 Subject: [PATCH] add constant for the max datastore accepted size --- src/js/Constants.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/Constants.js b/src/js/Constants.js index e2f9048e..c11c5823 100644 --- a/src/js/Constants.js +++ b/src/js/Constants.js @@ -49,6 +49,9 @@ var Constants = { // TESTS DRAWING_TEST_FOLDER : 'drawing', + // Maximum size of a sprite that can be saved on piskelapp datastore. + APPENGINE_SAVE_LIMIT : 1000, + // SERVICE URLS APPENGINE_SAVE_URL : 'save', IMAGE_SERVICE_UPLOAD_URL : 'http://piskel-imgstore-b.appspot.com/__/upload',