log config
This commit is contained in:
parent
40831d9c0d
commit
fcc6f92ee8
@ -58,10 +58,13 @@ const MyApp = (({
|
|||||||
instance.FC_CLIENT_ID = fcClientId;
|
instance.FC_CLIENT_ID = fcClientId;
|
||||||
instance.DOCAPOST_API_URL = docaposteApiUrl;
|
instance.DOCAPOST_API_URL = docaposteApiUrl;
|
||||||
|
|
||||||
|
console.log("instance", instance);
|
||||||
|
|
||||||
return getLayout(<Component {...pageProps} />);
|
return getLayout(<Component {...pageProps} />);
|
||||||
}) as AppType;
|
}) as AppType;
|
||||||
|
|
||||||
MyApp.getInitialProps = async () => {
|
MyApp.getInitialProps = async () => {
|
||||||
|
console.log("runtime config", publicRuntimeConfig);
|
||||||
return {
|
return {
|
||||||
backApiProtocol: publicRuntimeConfig.NEXT_PUBLIC_BACK_API_PROTOCOL,
|
backApiProtocol: publicRuntimeConfig.NEXT_PUBLIC_BACK_API_PROTOCOL,
|
||||||
backApiHost: publicRuntimeConfig.NEXT_PUBLIC_BACK_API_HOST,
|
backApiHost: publicRuntimeConfig.NEXT_PUBLIC_BACK_API_HOST,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user