fix: base path for github pages

This commit is contained in:
2025-02-07 16:33:37 +01:00
parent 7a3f8378c2
commit 3a00e7c680
3 changed files with 15 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ const prod = process.env.NODE_ENV === 'production';
const sitedata = {
site: {
base: !prod ? 'http://localhost:3000' : 'https://lowtech-lab-grenoble.fr',
basePath: !prod ? '' : '/ltg-grenoble',
subject: 'Low-tech Lab - Grenoble',
author: '© Low-tech Lab - Grenoble',
contact: 'contact@lowtechlabgrenoble.org',