Skip to content

Commit

Permalink
In files.js, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fghalasz committed Jul 19, 2024
1 parent 2771a41 commit 36dbe9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-portal/server/js/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function setContentType(res, path, stat) {
if(ext.length == 0) {
const buffer = mFs.readFileSync(path);
const name = mPath.basename(path);
if(isInterlispSource(buffer, name) {
if(isInterlispSource(buffer, name)) {
res.set('Content-Type', 'application/octet-stream');
} else if (isText(null, buffer)) {
res.set('Content-Type', 'text/plain; charset=UTF-8');
Expand Down

0 comments on commit 36dbe9c

Please sign in to comment.