feat(config): update file path, add post endpoint

This commit is contained in:
ItzCrazyKns
2025-03-18 10:33:32 +05:30
parent 97f6196d9b
commit 4cb20542a5
3 changed files with 82 additions and 28 deletions

View File

@ -188,7 +188,7 @@ const Page = () => {
} as SettingsType;
const response = await fetch(
`${process.env.NEXT_PUBLIC_API_URL}/config`,
`/api/config`,
{
method: 'POST',
headers: {