config changes for automated deployment

1. add a path prefix to the build in order to deploy on github pages
2. more importantly, use the CDN tiles, at least for now.
This commit is contained in:
Matt Price 2025-01-24 18:45:30 -05:00
commit b8540564c2
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ module.exports = {
image: '/static/favicon.ico',
siteUrl: process.env.SITE_URL || 'http://localhost:8000',
},
pathPrefix: process.env.PATH_PREFIX || '',
pathPrefix: process.env.PATH_PREFIX || 'j40-cejst-2',
plugins: [
{
resolve: 'gatsby-plugin-sass',

View file

@ -37,7 +37,7 @@ services:
environment:
# See the client readme for more info on environment variables:
# https://github.com/usds/justice40-tool/blob/main/client/README.md
DATA_SOURCE: local
DATA_SOURCE: cdn
TZ: America/Los_Angeles
volumes:
- ./client/src:/client/src