Skip to content

Commit 948d6e6

Browse files
Update screenshots
1 parent e33aaaf commit 948d6e6

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

articles/static-apps/deploy-nextjs.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ You can check the status of the Actions workflows by navigating to the Actions f
178178
179179
```url
180180
https://github.com/<YOUR_GITHUB_USERNAME>/nextjs-starter/actions
181+
```
181182
182183
### Sync changes
183184
@@ -203,19 +204,19 @@ The reason for this error is because Next.js only generated the home page based
203204
module.exports = {
204205
exportTrailingSlash: true,
205206
exportPathMap: async function () {
206-
const { projects } = data;
207-
const paths = {
208-
'/': { page: '/' },
209-
};
210-
211-
projects.forEach((project) => {
212-
paths[`/project/${project.slug}`] = {
213-
page: '/project/[path]',
214-
query: { path: project.slug },
207+
const { projects } = data;
208+
const paths = {
209+
'/': { page: '/' },
215210
};
216-
});
217-
218-
return paths;
211+
212+
projects.forEach((project) => {
213+
paths[`/project/${project.slug}`] = {
214+
page: '/project/[path]',
215+
query: { path: project.slug },
216+
};
217+
});
218+
219+
return paths;
219220
},
220221
};
221222
```
-6.76 KB
Loading
-52.3 KB
Loading
-6.8 KB
Loading
-6.88 KB
Loading
-53.8 KB
Loading
-6.71 KB
Loading

0 commit comments

Comments
 (0)