mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Use token authentication for API requests.
This commit is contained in:
parent
bff8806b61
commit
96bd7e5b47
34 changed files with 198 additions and 153 deletions
|
|
@ -14,9 +14,11 @@ export default function SharePage() {
|
|||
return null;
|
||||
}
|
||||
|
||||
const { websiteId, token } = data;
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<WebsiteDetails websiteId={data.website_id} shareId={shareId} />
|
||||
<WebsiteDetails websiteId={websiteId} token={token} />
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue