diff --git a/lib/session.js b/lib/session.js index 6a234457..50125c7d 100644 --- a/lib/session.js +++ b/lib/session.js @@ -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, }); }