⚒️ Add getSvgByQuery.

This commit is contained in:
pheralb 2022-06-26 18:42:06 +01:00
parent bb405d50cf
commit f2cfedcbb0

View File

@ -1,4 +1,5 @@
export const githubVersionPackage = 'https://api.github.com/repos/pheralb/svgl/releases/latest'; export const githubVersionPackage = 'https://api.github.com/repos/pheralb/svgl/releases/latest';
export const getAllSvgs = "/api/all"; export const getAllSvgs = "/api/all";
export const getCategorySvgs = "/api/categories"; export const getCategorySvgs = "/api/categories";
export const getSvgById = "/api/search?id="; export const getSvgById = "/api/search?id=";
export const getSvgByQuery = "/api/search?q=";