From e5b1fb332e99861129c289fc9a74092227ce4510 Mon Sep 17 00:00:00 2001 From: Loosetooth Date: Wed, 27 Sep 2023 10:34:54 +0200 Subject: [PATCH] remove basePath for local development --- .github/workflows/nextjs.yml | 4 ++-- next.config.mjs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 367d339..30bbefb 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -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: diff --git a/next.config.mjs b/next.config.mjs index ca3f52b..1ba0ca8 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -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' }) \ No newline at end of file