mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
fix(formdata): added a check to make sure the FormData class is available in the browser's global scope; (#5545)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
export default FormData;
|
||||
export default typeof FormData !== 'undefined' ? FormData : null;
|
||||
|
||||
Reference in New Issue
Block a user