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.
if
1 parent e535f25 commit c1907f1Copy full SHA for c1907f1
1 file changed
lib/Server.js
@@ -1479,10 +1479,6 @@ class Server {
1479
options.static = [getStaticItem(options.static)];
1480
} else if (Array.isArray(options.static)) {
1481
options.static = options.static.map((item) => {
1482
- if (typeof item === "string") {
1483
- return getStaticItem(item);
1484
- }
1485
-
1486
return getStaticItem(item);
1487
});
1488
} else {
0 commit comments