* [monorepo][m] - remove nx from simple-example * [simple-example][sm] - install octokit and simplify README * [simple-example][m] - fix linting * [monorepo][m] - simplify examples * [monorepo][sm] - update docs
18 lines
338 B
JavaScript
18 lines
338 B
JavaScript
const nextConfig = {
|
|
async rewrites() {
|
|
return {
|
|
beforeFiles: [
|
|
{
|
|
source: '/@:org/:project*',
|
|
destination: '/@org/:org/:project*',
|
|
},
|
|
],
|
|
};
|
|
},
|
|
serverRuntimeConfig: {
|
|
github_pat: process.env.GITHUB_PAT ? process.env.GITHUB_PAT : null,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|