Send actual domain data (#62)
This commit is contained in:
parent
ec908fc6c4
commit
207c6871ba
@ -18,8 +18,8 @@ const Home: NextPage = () => {
|
|||||||
if (!client) return;
|
if (!client) return;
|
||||||
client
|
client
|
||||||
.request({
|
.request({
|
||||||
aud: "http://localhost:3000/",
|
aud: window.location.href,
|
||||||
domain: "localhost:3000",
|
domain: window.location.hostname.split(".").slice(-2).join("."),
|
||||||
chainId: "eip155:1",
|
chainId: "eip155:1",
|
||||||
type: "eip4361",
|
type: "eip4361",
|
||||||
nonce: generateNonce(),
|
nonce: generateNonce(),
|
||||||
|
Loading…
Reference in New Issue
Block a user