url hotfix

This commit is contained in:
hay-kot 2021-02-08 18:52:33 -09:00
parent b3573dc078
commit 7e26fb068f

View File

@ -1,14 +1,14 @@
import { baseURL } from "./api-utils"; import { baseURL } from "./api-utils";
import { apiReq } from "./api-utils"; import { apiReq } from "./api-utils";
const prefix = baseURL + "themes/"; const prefix = baseURL + "themes";
const settingsURLs = { const settingsURLs = {
allThemes: `${baseURL}themes`, allThemes: `${baseURL}themes`,
specificTheme: (themeName) => `${prefix}themes/${themeName}`, specificTheme: (themeName) => `${prefix}/${themeName}`,
createTheme: `${prefix}themes/create`, createTheme: `${prefix}/create`,
updateTheme: (themeName) => `${prefix}themes/${themeName}`, updateTheme: (themeName) => `${prefix}/${themeName}`,
deleteTheme: (themeName) => `${prefix}themes/${themeName}`, deleteTheme: (themeName) => `${prefix}/${themeName}`,
}; };
export default { export default {