Compare commits
3
Commits
ea99520366
...
c2105ea0f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2105ea0f5 | ||
|
|
719c3e2e59 | ||
|
|
ebdaf75a85 |
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
+1
-1
@@ -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 '*/*';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user