mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Added CORS to website API endpoints.
This commit is contained in:
parent
136000c29d
commit
bf5068d32a
7 changed files with 19 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export default async (req, res) => {
|
|||
return badRequest(res, 'Account already exists');
|
||||
}
|
||||
}
|
||||
console.log('------------------\n', data);
|
||||
|
||||
const updated = await updateAccount(user_id, data);
|
||||
|
||||
return ok(res, updated);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue