m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-14 16:13:48 -05:00

docs: Change basePath only in production

This commit is contained in:
Sergio
2024-07-17 15:10:18 +03:00
parent 935517d3f8
commit d1cb62304d

View File

@@ -9,7 +9,7 @@ module.exports = withNextra(
images: {
unoptimized: true
},
basePath: '/cup'
basePath: process.env.NODE_ENV == 'production' ? '/cup' : ''
}
);