|
@@ -114,6 +114,12 @@ const call = (req, res, url, params, format) => {
|
|
allowEncoding = false;
|
|
allowEncoding = false;
|
|
mimeType = "image/svg+xml";
|
|
mimeType = "image/svg+xml";
|
|
break;
|
|
break;
|
|
|
|
+ case "typescript-icon":
|
|
|
|
+ filePath = `${settings.documentation.dirPath}static/external/typescript.svg`;
|
|
|
|
+ statusCode = 200;
|
|
|
|
+ allowEncoding = false;
|
|
|
|
+ mimeType = "image/svg+xml";
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
requestedFile = "fallback_err_404";
|
|
requestedFile = "fallback_err_404";
|
|
filePath = settings.documentation.error404path;
|
|
filePath = settings.documentation.error404path;
|