Compare commits

...
3 Commits
2 changed files with 13 additions and 1 deletions
@@ -0,0 +1,12 @@
server {
listen 80;
server_name localhost;
client_max_body_size 500M;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}
@@ -42,7 +42,7 @@ export class FileUploaderComponent implements ControlValueAccessor {
case 'audio': case 'audio':
return 'audio/*'; return 'audio/*';
case 'video': case 'video':
return 'video/*'; return 'video/*,video/mp4,video/x-m4v,video/webm,.mp4,.mkv,.avi,.mov';
default: default:
return '*/*'; return '*/*';
} }