add statically cdn
This commit is contained in:
parent
acf5663426
commit
e2fa08b8a1
|
@ -1,4 +1,7 @@
|
|||
|
||||
const isProd = process.env.NODE_ENV === 'production'
|
||||
|
||||
module.exports = {
|
||||
basePath: '/Portfolio',
|
||||
assetPrefix: '/Portfolio/',
|
||||
}
|
||||
// Use the CDN in production and localhost for development.
|
||||
assetPrefix: isProd ? 'https://cdn.statically.io/gh/Priyatham-sai-chand/Portfolio/gh-pages/' : '',
|
||||
}
|
Loading…
Reference in New Issue