replace env variable useage so dyanmic not built
This commit is contained in:
@@ -141,6 +141,8 @@ const Home = (props) => {
|
||||
pages={pages}
|
||||
showLogin={showLogin}
|
||||
loggedInUserId={loggedInUserId}
|
||||
GG_REDIRECT_URI={props.GG_REDIRECT_URI}
|
||||
GG_CLIENT_ID={props.GG_CLIENT_ID}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
@@ -212,6 +214,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
hasGGCode: hasLoginCode,
|
||||
loggedInUserId: portalUserObj,
|
||||
loggedInUserEmail: loginEmailStr,
|
||||
GG_REDIRECT_URI: process.env.GG_REDIRECT_URI,
|
||||
GG_CLIENT_ID: process.env.GG_CLIENT_ID,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user