use same s3 for images

master
lza_menace 2 years ago
parent 04ef3bdecf
commit a02efb6154

@ -28,7 +28,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"release": "react-scripts build && aws s3 sync build/ s3://unaboomer-prod-web-origin/ --delete",
"release": "react-scripts build && aws s3 sync build/ s3://unaboomer-prod-web-origin/",
"release-dev": "react-scripts build && rsync -avzP build/ lzahq:/srv/lzahq.tech/public/rando/"
},
"eslintConfig": {

@ -348,8 +348,8 @@ export function Hero(props) {
<div className="ownedTokens">
{JSON.parse(tokensMinted).filter((item, index) => JSON.parse(tokensMinted).indexOf(item) === index).map((id, idx) => (
<div className="ownedToken" key={idx}>
<a href={'http://unaboomer-images.s3-website-us-west-2.amazonaws.com/' + String(id).padStart(5, '0') + '.png'} target='_blank'>
<img src={'http://unaboomer-images.s3-website-us-west-2.amazonaws.com/' + String(id).padStart(5, '0') + '.png'} width="80px" />
<a href={'https://unaboomer.gg/images/' + String(id).padStart(4, '0') + '.png'} target='_blank'>
<img src={'https://unaboomer.gg/images/' + String(id).padStart(4, '0') + '.png'} width="80px" />
</a>
</div>
)

Loading…
Cancel
Save