Skip to content

Commit

Permalink
remove basePath for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
Loosetooth committed Sep 27, 2023
1 parent 8139ad1 commit e5b1fb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Setup Pages
uses: actions/configure-pages@v3
# with:
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
#
# You may remove this line if you want to manage the configuration yourself.
# static_site_generator: next
static_site_generator: next
- name: Restore cache
uses: actions/cache@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const withNextra = nextra({

export default withNextra({
output: "export",
images: {
unoptimized: true,
},
basePath: '/epola-space-nextra'
// images: {
// unoptimized: true,
// },
// basePath: '/epola-space-nextra'
})

0 comments on commit e5b1fb3

Please sign in to comment.