From 7488577d89b1c1d389fff83b0c877b4a23d86e58 Mon Sep 17 00:00:00 2001 From: boomchanotai Date: Fri, 8 Nov 2024 22:33:21 +0700 Subject: [PATCH] refactor: remove base path --- .github/workflows/deploy.yml | 5 ----- next.config.mjs | 1 - 2 files changed, 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d74790..c2662fd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,11 +33,6 @@ jobs: - name: Install dependencies run: | pnpm install - - name: "Create env file" - run: | - touch .env - echo BasePath=/CUBS-website >> .env - cat .env - name: Build run: | pnpm run build diff --git a/next.config.mjs b/next.config.mjs index b9ddcee..5ebb000 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,7 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: "export", - basePath: process.env.BasePath, images: { unoptimized: true, },