Skip to content

Commit

Permalink
Fix serving videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Jan 4, 2024
1 parent e468010 commit 50c5c3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
- Fix import order of profiles @robgietema
- Fix test runner for projects @robgietema
- Fix project vocabularies @robgietema
- Fix password reset link @robgietema
- Fix serving videos @robgietema

### Internal

Expand Down
1 change: 1 addition & 0 deletions src/routes/content/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export default [
headers: {
'Content-Type': field['content-type'],
'Content-Disposition': `attachment; filename="${field.filename}"`,
'Accept-Ranges': 'bytes',
},
binary: buffer,
};
Expand Down

0 comments on commit 50c5c3b

Please sign in to comment.