We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad9f3c commit 15d4866Copy full SHA for 15d4866
src/lambda_api/application/proxy.ts
@@ -14,6 +14,8 @@ export async function get(request: any) {
14
15
// append the path
16
let path = request.path;
17
+ // strip the proxy prefix from the path
18
+ path = path.replace("/proxy/", "");
19
let url = `https://dog.ceo/api/${path}`;
20
21
// dogs api
@@ -25,7 +27,9 @@ export async function get(request: any) {
25
27
},
26
28
};
29
30
+ console.log(axiosConfig);
31
let dogsResponse = await axios(axiosConfig);
32
+ console.log(dogsResponse);
33
34
return response;
35
}
0 commit comments