This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix channels, checkout. Improve envs setup
- Loading branch information
1 parent
e011af5
commit b7d73b1
Showing
11 changed files
with
77 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# common envs | ||
NEXT_PUBLIC_API_URI=http://localhost:8000/graphql/ | ||
NEXT_PUBLIC_SALEOR_CHANNEL_SLUG=default-channel | ||
NEXT_PUBLIC_DEMO_MODE=false | ||
NEXT_PUBLIC_GTM_ID= | ||
NEXT_PUBLIC_SENTRY_APM=0 | ||
NEXT_PUBLIC_SENTRY_DSN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
# NEXT_PUBLIC_API_URI=http://localhost:8000/graphql/ | ||
NEXT_PUBLIC_API_URI=https://master.staging.saleor.rocks/graphql/ | ||
NEXT_PUBLIC_SALEOR_CHANNEL_SLUG=default-channel | ||
# development server envs | ||
NEXT_PUBLIC_API_URI=https://master.staging.saleor.rocks/graphql/ | ||
NEXT_PUBLIC_DEMO_MODE=false | ||
NEXT_PUBLIC_GTM_ID=undefined | ||
NEXT_PUBLIC_SENTRY_APM=0 | ||
NEXT_PUBLIC_SENTRY_DSN=null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# production server envs | ||
NEXT_PUBLIC_API_URI= | ||
NEXT_PUBLIC_SALEOR_CHANNEL_SLUG= | ||
NEXT_PUBLIC_DEMO_MODE= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./ThankYouPage"; | ||
export type { IProps as ThankYouPageProps } from "./types"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export type IProps = { | ||
query: { | ||
orderNumber?: string; | ||
token?: string; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ThankYouPage, ThankYouPageProps } from "@pages"; | ||
|
||
export default ThankYouPage; | ||
|
||
ThankYouPage.getInitialProps = async ({ query }) => | ||
({ query } as ThankYouPageProps); |