Skip to content

Commit 98cddd0

Browse files
committed
debug
1 parent a8bd154 commit 98cddd0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

frontend/src/components/layouts/client/client-layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { AMPLIFY_OUTPUTS } from '@utils/amplify-outputs';
1111
Amplify.configure(AMPLIFY_OUTPUTS(), { ssr: true });
1212

1313
export function ClientLayout({ children }: { children: React.ReactNode }) {
14+
console.log('amplify ouputs', AMPLIFY_OUTPUTS());
15+
console.log('amplify config', process.env);
1416
return (
1517
<Authenticator.Provider>
1618
<NHSNotifySkipLink />

lambdas/backend-client/src/axios-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const isApplicationFailure = (error: any): error is Failure =>
88
'technicalMessage' in error;
99

1010
export const createAxiosClient = (token: string) => {
11+
console.log('backend api url', process.env.BACKEND_API_URL);
1112
const client = axios.create({
1213
baseURL: process.env.BACKEND_API_URL,
1314
headers: {

0 commit comments

Comments
 (0)