feat: add support to svg

This commit is contained in:
tdurieux
2022-08-10 08:39:47 +02:00
parent 5c3d358a25
commit 6bebf84812

View File

@@ -1261,7 +1261,7 @@ angular
ts: "typescript",
};
const textFiles = ["license", "txt"];
const imageFiles = ["png", "jpg", "jpeg", "gif"];
const imageFiles = ["png", "jpg", "jpeg", "gif", "svg"];
$scope.$on("$routeUpdate", function (event, current, old) {
$scope.filePath = $routeParams.path || "";