Browse Source

fix: add ts icon asset

Sven Fehler 1 month ago
parent
commit
8c1c074a9a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      endpoints/static.js

+ 6 - 0
endpoints/static.js

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