]> jfr.im git - uguu.git/blobdiff - static/js/app.js
Update README.md
[uguu.git] / static / js / app.js
index 0e843e2c53ee27e155bfa127a2214b15e046dd55..eecf7799e8ab265277b92297533fee42da72e532 100644 (file)
@@ -130,8 +130,11 @@ document.addEventListener('DOMContentLoaded', function() {
     } else if (respStatus === 413) {
       link.textContent = 'File too big!';
       url.appendChild(link);
+    } else if (respStatus === 415) {
+      link.textContent = 'Filetype not allowed!';
+      url.appendChild(link);
     } else {
-      link.textContent = 'Filetype not allowed or server error!';
+      link.textContent = 'Server error!';
       url.appendChild(link);
     }
   }