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:
@@ -9,7 +9,7 @@ module.exports = withNextra(
|
||||
images: {
|
||||
unoptimized: true
|
||||
},
|
||||
basePath: '/cup'
|
||||
basePath: process.env.NODE_ENV == 'production' ? '/cup' : ''
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user