]> jfr.im git - uguu.git/blobdiff - static/js/app.js
Update README.md
[uguu.git] / static / js / app.js
index 3cdc6d7222bca8b712b155ae89e46eb7631d70f9..eecf7799e8ab265277b92297533fee42da72e532 100644 (file)
@@ -130,6 +130,9 @@ 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 = 'Server error!';
       url.appendChild(link);