1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-23 15:19:41 +02:00

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 { apiReq } from "./api-utils";
const prefix = baseURL + "themes/";
const prefix = baseURL + "themes";
const settingsURLs = {
allThemes: `${baseURL}themes`,
specificTheme: (themeName) => `${prefix}themes/${themeName}`,
createTheme: `${prefix}themes/create`,
updateTheme: (themeName) => `${prefix}themes/${themeName}`,
deleteTheme: (themeName) => `${prefix}themes/${themeName}`,
specificTheme: (themeName) => `${prefix}/${themeName}`,
createTheme: `${prefix}/create`,
updateTheme: (themeName) => `${prefix}/${themeName}`,
deleteTheme: (themeName) => `${prefix}/${themeName}`,
};
export default {