Use relative paths
// FREEBIE
This commit is contained in:
parent
95e809636a
commit
859d49b3f4
21 changed files with 106 additions and 106 deletions
|
@ -121,8 +121,8 @@
|
|||
|
||||
var type = file.type.split('/')[0];
|
||||
switch (type) {
|
||||
case 'audio': this.addThumb('/images/audio.svg'); break;
|
||||
case 'video': this.addThumb('/images/video.svg'); break;
|
||||
case 'audio': this.addThumb('images/audio.svg'); break;
|
||||
case 'video': this.addThumb('images/video.svg'); break;
|
||||
case 'image':
|
||||
this.oUrl = URL.createObjectURL(file);
|
||||
this.addThumb(this.oUrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue