Skip to content
This repository was archived by the owner on Apr 2, 2021. It is now read-only.

Commit ed68012

Browse files
authored
Merge pull request #17 from xcarpentier/patch-3
Fix exp url
2 parents f7bc64d + ed80d0f commit ed68012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/post-deploy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ const config = require('./config');
44
const log = require('./log');
55
module.exports = function postDeploy() {
66
const expUrl = `https://expo.io/@${config.expUsername}/${utils.readPackageJSON().name}`;
7-
const qrUrl = `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${expUrl}`;
7+
const expUrlForQRCode = `https://exp.host/@${config.expUsername}/${utils.readPackageJSON().name}`;
8+
const qrUrl = `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${expUrlForQRCode}`;
89
const issueUrl = `https://${config.githubUsername}:${config.githubToken}@api.github.com/repos/${config.githubOrg}/${config.githubRepo}/issues/${config.githubPullRequestId}/comments`;
910

1011
log('Exponent URL', expUrl);

0 commit comments

Comments
 (0)