capedevs / capedevs.github.io

https://capedevs.github.io
GNU General Public License v3.0
1 stars 1 forks source link

Update next.config.js #5

Closed smngvlkz closed 3 months ago

smngvlkz commented 3 months ago

Description

This PR is aimed at addressing the deployment issues on the main repository by updating the next.config.js file. The main changes involve removing the basePath and assetPrefix settings, which might be causing incorrect asset path resolution on GitHub Pages.

I did some research and found that basePath and assetPrefix settings are typically used for projects that are not at the root of a domain. For GitHub Pages organization sites, these settings are unnecessary and can cause issues with asset loading.

Changes Made

After these changes:

  1. The site should deploy correctly on GitHub Pages
  2. All assets (JavaScript, CSS, images) should load properly
  3. The site should render with full styling and functionality

Testing Performed

Additional Notes