|
@@ -146,7 +146,7 @@ export default {
|
|
|
uploadFile(options, int) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
var self = this;
|
|
|
- if (options.indexOf('//tmp') === -1) {
|
|
|
+ if (options.indexOf('//tmp') === -1 && options.indexOf('//temp') === -1) {
|
|
|
resolve(options)
|
|
|
return
|
|
|
}
|