Skip to content

Commit aa20424

Browse files
committed
revert changes made while debugging
1 parent 70f318a commit aa20424

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

next.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const nextConfig = {
1212
// output: 'standalone',
1313
reactStrictMode: true,
1414
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+
},
1818
sentry: {
1919
// Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
2020
// for client-side builds. (This will be the default starting in

utils/api/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const defaultHeaders = (token) => ({ Authorization: `Bearer ${token || process.e
77
const api = axios.create({ baseURL })
88

99
export const fetcher = (url, token) => {
10-
return api.get(url, { headers: `Bearer 1234` })
10+
return api.get(url, { headers: defaultHeaders(token) })
1111
.then(res => res.data)
1212
.catch(error => {
1313
Sentry.captureException(error)

0 commit comments

Comments
 (0)