Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
fix: Expo QR code service url (#15)
Browse files Browse the repository at this point in the history
Refs: #13
  • Loading branch information
piotrski authored Aug 3, 2022
1 parent 57d2950 commit aee277e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189375,7 +189375,7 @@ function getExpoGoParams(manifestURL) {
releaseChannel: url.searchParams.get('release-channel') || undefined,
};
}
const generateQRCodeBaseURL = 'https://us-central1-exponentjs.cloudfunctions.net/generateQRCode';
const generateQRCodeBaseURL = 'https://qr.expo.dev';
function createQRCodeURL(projectFlavor, manifestURL, scheme) {
if (projectFlavor === config_1.ProjectFlavor.DevelopmentClient) {
return `${generateQRCodeBaseURL}/development-client?appScheme=${scheme}&url=${manifestURL}`;
Expand Down
2 changes: 1 addition & 1 deletion src/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getExpoGoParams(manifestURL: string): ExpoGoParams {
};
}

const generateQRCodeBaseURL = 'https://us-central1-exponentjs.cloudfunctions.net/generateQRCode';
const generateQRCodeBaseURL = 'https://qr.expo.dev';

export function createQRCodeURL(projectFlavor: ProjectFlavor, manifestURL: string, scheme: string): string {
if (projectFlavor === ProjectFlavor.DevelopmentClient) {
Expand Down

0 comments on commit aee277e

Please sign in to comment.