Skip to content

Commit

Permalink
Rename: redirectPath
Browse files Browse the repository at this point in the history
  • Loading branch information
14KGun committed Aug 16, 2023
1 parent f5f9cfc commit 6a8d6eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions serve/invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
const firebaseConfig =
window["env"]?.REACT_APP_FIREBASE_CONFIG &&
JSON.parse(window["env"].REACT_APP_FIREBASE_CONFIG);
const rediretPath = window.location.pathname.replace(
const redirectPath = window.location.pathname.replace(
"/invite",
"/home"
);
const getDynamicLink = (to, fallback = true) => {
const { host, androidPacakgeName, iosAppBundleId, appStoreId } =
firebaseConfig?.dinamicLink || {};
firebaseConfig?.dynamicLink || {};
const { origin } = window.location;

if (!host) return `${origin}${to}`;
Expand Down
2 changes: 1 addition & 1 deletion src/tools/trans.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const getS3Url = (x) => `${s3BaseUrl}${x}`;

const getDynamicLink = (to, fallback = true) => {
const { host, androidPacakgeName, iosAppBundleId, appStoreId } =
firebaseConfig?.dinamicLink || {};
firebaseConfig?.dynamicLink || {};
const { origin } = window.location;

if (!host) return `${origin}${to}`;
Expand Down
2 changes: 1 addition & 1 deletion src/types/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type FirebaseConfig = {
messagingSenderId: string;
appId: string;
measurementId: string;
dinamicLink: {
dynamicLink: {
host: string;
androidPacakgeName: string;
iosAppBundleId: string;
Expand Down

0 comments on commit 6a8d6eb

Please sign in to comment.