diff --git a/.github/workflows/purefinance_deployment.yaml b/.github/workflows/purefinance_deployment.yaml index 498e721..d89478a 100644 --- a/.github/workflows/purefinance_deployment.yaml +++ b/.github/workflows/purefinance_deployment.yaml @@ -25,7 +25,7 @@ jobs: - name: Build site run: | cd site - BASE_PATH="/pure.finance" npm run build + npm run build - name: Copy files to Hostinger uses: appleboy/scp-action@master diff --git a/README.md b/README.md index 5bdc02e..dba7697 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ npm run test:e2e ```sh npm ci cd site -BASE_PATH="/pure.finance" npm run build +npm run build ``` Then upload the folder `site/out` to the hosting server. diff --git a/site/next.config.js b/site/next.config.js index 3374528..7e980f3 100644 --- a/site/next.config.js +++ b/site/next.config.js @@ -1,5 +1,4 @@ module.exports = { - basePath: process.env.BASE_PATH || '', images: { unoptimized: true }, output: 'export', trailingSlash: true