Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 507 Bytes

debug-fetch-requests.md

File metadata and controls

22 lines (16 loc) · 507 Bytes

Debug Next.js Fetch Requests

Make the following change in the next.config.js file -

/** @type {import('next').NextConfig} */
const nextConfig = {
    logging: {
        fetches: {
              fullUrl: true,
        },
    },
};

module.exports = nextConfig;

This will log the requests in the console when running the app in development mode.

source

docs