Skip to content

Commit

Permalink
Merge pull request #29 from SgtCoDFish/fixurl
Browse files Browse the repository at this point in the history
Fix url
  • Loading branch information
SgtCoDFish authored Mar 20, 2024
2 parents a7cdf30 + 8201b26 commit 39870f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cert-card
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ convert -size 696x492 canvas:white \
-background None -layers Flatten front-$certname.png

# TODO: update this URL
# url="http://print-your-cert.cert-manager.io/certificate?certName=$certname&fetchKey=$fetchkey"
url="http://192.168.1.171:8080/certificate?certName=$certname&fetchKey=$fetchkey"
url="http://print-your-cert.cert-manager.io/certificate?certName=$certname&fetchKey=$fetchkey"
# url="http://192.168.1.171:8080/certificate?certName=$certname&fetchKey=$fetchkey"
echo "$url" >&2
echo "$url" | qrencode --type PNG --margin 4 -o - | convert -size 696x492 canvas:white \
\( -gravity Center -monochrome -filter point -interpolate nearest - -resize 492 \) -composite back-$certname.png

0 comments on commit 39870f5

Please sign in to comment.