feat(config): update file path, add post endpoint
This commit is contained in:
parent
97f6196d9b
commit
4cb20542a5
3 changed files with 82 additions and 28 deletions
|
|
@ -188,7 +188,7 @@ const Page = () => {
|
|||
} as SettingsType;
|
||||
|
||||
const response = await fetch(
|
||||
`${process.env.NEXT_PUBLIC_API_URL}/config`,
|
||||
`/api/config`,
|
||||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue