File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ const nextConfig = {
12
12
// output: 'standalone',
13
13
reactStrictMode : true ,
14
14
swcMinify : true ,
15
- // eslint: {
16
- // dirs: ['pages', 'utils'], // Only run ESLint on the 'pages' and 'utils' directories during production builds
17
- // },
15
+ eslint : {
16
+ dirs : [ 'pages' , 'utils' ] , // Only run ESLint on the 'pages' and 'utils' directories during production builds
17
+ } ,
18
18
sentry : {
19
19
// Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
20
20
// for client-side builds. (This will be the default starting in
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const defaultHeaders = (token) => ({ Authorization: `Bearer ${token || process.e
7
7
const api = axios . create ( { baseURL } )
8
8
9
9
export const fetcher = ( url , token ) => {
10
- return api . get ( url , { headers : `Bearer 1234` } )
10
+ return api . get ( url , { headers : defaultHeaders ( token ) } )
11
11
. then ( res => res . data )
12
12
. catch ( error => {
13
13
Sentry . captureException ( error )
You can’t perform that action at this time.
0 commit comments