mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 17:15:37 +01:00
Added summary stats query.
This commit is contained in:
parent
18de85a06d
commit
f9a6f5f637
5 changed files with 61 additions and 13 deletions
|
|
@ -29,7 +29,7 @@ export default function HomePage({ username }) {
|
|||
}
|
||||
|
||||
export async function getServerSideProps({ req, res }) {
|
||||
const token = parse(req.headers.cookie)['umami.auth'];
|
||||
const token = parse(req.headers.cookie || '')['umami.auth'];
|
||||
|
||||
try {
|
||||
const payload = await verifySecureToken(token);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue