Add viewer url to i

This commit is contained in:
Mentor Palokaj 2021-10-21 12:10:42 +02:00
parent 2db735e4d5
commit 8a48f5fc24
2 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ async function generateRocketeer( id, network='mainnet' ) {
name: `${ name.first() } ${ name.middle() } ${ name.last() } of ${ pickRandomArrayEntry( heavenlyBodies ) }`,
description: ``,
image: ``,
external_url: `${ web2domain }/${ network == 'mainnet' ? 'api' : 'testnetapi' }/rocketeer/${ id }`,
external_url: `https://viewer.rocketeer.fans/rocketeer/${ id }` + network == 'mainnet' ? '' : '?testnet=true',
attributes: []
}

View File

@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Rocketeer viewer interface"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Rocketeer Viewer</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>