mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-02 04:33:09 +00:00
feature(util) getExtension -> getExt
This commit is contained in:
parent
3e1c915a78
commit
b01b1be71b
3 changed files with 4 additions and 4 deletions
|
|
@ -203,7 +203,7 @@
|
|||
|
||||
if (params.name) {
|
||||
p = params,
|
||||
extension = Util.getExtension(p.name),
|
||||
extension = Util.getExt(p.name),
|
||||
type = ext[extension] || 'text/plain',
|
||||
encoding = '';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue