fix: fixed github icon api route issue (#1117)

This commit is contained in:
Jakob Guddas
2023-04-19 19:04:04 +02:00
committed by GitHub
parent 4679ff791d
commit 49bd49b843
+1 -1
View File
@@ -28,7 +28,7 @@ export const getCommands = (src: string) =>
);
export const getPaths = (src: string) => {
const commands = getCommands(src);
const commands = getCommands(src.includes('<svg') ? src : `<svg>${src}</svg>`);
const paths: Path[] = [];
let prev: Point | undefined = undefined;
let start: Point | undefined = undefined;