mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 22:21:17 -07:00
Add env variable to set path prefix (#706)
* Add env variable to set path prefix - When routing traffic to our new URL, the path prefix needs to be blank - adding path prefix to be set by env var to yml files * Update reference to env var in PATH_PREFIX * Update PR message URL with CDN - The actual website will point to the base url CDN
This commit is contained in:
parent
61fc8e6c15
commit
a532b652b4
4 changed files with 7 additions and 3 deletions
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
title: 'Justice40',
|
||||
image: '/static/favicon.ico',
|
||||
},
|
||||
pathPrefix: `/justice40-tool/${process.env.DESTINATION_FOLDER}`,
|
||||
pathPrefix: `${process.env.PATH_PREFIX}`,
|
||||
plugins: [
|
||||
{
|
||||
resolve: 'gatsby-plugin-sass',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue