We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375e701 commit f23aed5Copy full SHA for f23aed5
src/index.js
@@ -182,7 +182,7 @@ function ParseServer({
182
var api = express();
183
//api.use("/apps", express.static(__dirname + "/public"));
184
// File handling needs to be before default middlewares are applied
185
- api.use('/', new FilesRouter().getExpressRouter({
+ api.use('/', middlewares.allowCrossDomain, new FilesRouter().getExpressRouter({
186
maxUploadSize: maxUploadSize
187
}));
188
0 commit comments