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 c1907f1 commit d598325Copy full SHA for d598325
lib/Server.js
@@ -1478,9 +1478,7 @@ class Server {
1478
} else if (typeof options.static === "string") {
1479
options.static = [getStaticItem(options.static)];
1480
} else if (Array.isArray(options.static)) {
1481
- options.static = options.static.map((item) => {
1482
- return getStaticItem(item);
1483
- });
+ options.static = options.static.map((item) => getStaticItem(item));
1484
} else {
1485
1486
}
0 commit comments