We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 512cb59 + 3d91436 commit c2fd58dCopy full SHA for c2fd58d
app/api/code/submit/route.ts
@@ -79,7 +79,7 @@ export async function POST(req: Request) {
79
// Extract the host and protocol from the incoming request
80
const url = new URL(req.url);
81
const baseUrl = `${url.protocol}//${url.host}`;
82
-
+ console.log("BASE URL: ", baseUrl);
83
// Use the base URL for Axios requests
84
axios.put(`${baseUrl}/api/increment/submit`, {});
85
0 commit comments