Skip to content

Commit

Permalink
Merge pull request #548 from coljs/develop
Browse files Browse the repository at this point in the history
Updates dev dependencies and fixes 404 error
  • Loading branch information
JenyMzo authored May 11, 2021
2 parents 18131da + f0968ae commit cfe200e
Show file tree
Hide file tree
Showing 4 changed files with 3,593 additions and 3,222 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
npm run generate
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/[email protected].1
uses: JamesIves/[email protected].2
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages
Expand Down
19 changes: 18 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,26 @@ const routerBase =
? {
router: {
base: '/medellinjs/',
extendRoutes(routes, resolve) {
routes.push({
name: 'custom',
path: '*',
component: resolve(__dirname, 'pages/index.vue'),
})
},
},
}
: {
router: {
extendRoutes(routes, resolve) {
routes.push({
name: 'custom',
path: '*',
component: resolve(__dirname, 'pages/index.vue'),
})
},
},
}
: {}

export default {
ssr: true,
Expand Down
Loading

0 comments on commit cfe200e

Please sign in to comment.