mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Use correct mime type for .wasm files
https://github.com/cryptpad/cryptpad/issues/1277
This commit is contained in:
parent
6353e18744
commit
13badd7ce4
@ -158,6 +158,7 @@ var setHeaders = function (req, res) {
|
||||
};
|
||||
|
||||
const Express = require("express");
|
||||
Express.static.mime.define({'application/wasm': ['wasm']});
|
||||
var app = Express();
|
||||
|
||||
(function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user