mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +01:00
Display page views and unique visitors.
This commit is contained in:
parent
bdcdcd9d13
commit
ce92c7897d
16 changed files with 162 additions and 44 deletions
|
|
@ -18,8 +18,8 @@ export default async (req, res) => {
|
|||
|
||||
res.setHeader('Set-Cookie', [cookie]);
|
||||
|
||||
res.status(200).json({ token });
|
||||
} else {
|
||||
res.status(401).end();
|
||||
return res.status(200).json({ token });
|
||||
}
|
||||
|
||||
return res.status(401).end();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue