Cannot upload file which don't have extension with it.
How to generate
vi ~/.gitconfig
apaste ~/.gitconfig
~/.local/lib/npm/lib/node_modules/apaste/upclient.js:212 else if (type.startsWith("audio") || type.startsWith("video") || type.startsWith("text") || type.startsWith("image")) ^TypeError: Cannot read property 'startsWith' of null at validateMimeType (~/.local/lib/npm/lib/node_modules/apaste/upclient.js:212:17) at ~/.local/lib/npm/lib/node_modules/apaste/upclient.js:233:3 at Array.forEach (<anonymous>) at Object.<anonymous> (~/.local/lib/npm/lib/node_modules/apaste/upclient.js:231:12) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10)