Compare commits
3
Commits
ea99520366
...
main
| 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':
|
||||
return 'audio/*';
|
||||
case 'video':
|
||||
return 'video/*';
|
||||
return 'video/*,video/mp4,video/x-m4v,video/webm,.mp4,.mkv,.avi,.mov';
|
||||
default:
|
||||
return '*/*';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user