mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
feat(session): use hostname in domain field for autocreated websites
This commit is contained in:
parent
cf7fa3bbc7
commit
32d2a5830e
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export async function getSession(req) {
|
|||
website = await createWebsite(user_id, {
|
||||
website_uuid,
|
||||
name: website_uuid,
|
||||
domain: `http://${website_uuid}`,
|
||||
domain: `http://${hostname}`,
|
||||
share_id: null,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue