Skip to content

Commit

Permalink
chore(#427): update nuxt config
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Jun 21, 2022
1 parent 286e315 commit 08173c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ export default {
index: 'default',
},
],
// DruxtJS Site.
'druxt-site',
],

publicRuntimeConfig: {
Expand All @@ -68,6 +66,9 @@ export default {

// Modules (https://go.nuxtjs.dev/config-modules)
modules: [
// DruxtJS Site.
'druxt-site',

// Nuxt.js Lunr.
[
'@nuxtjs/lunr-module',
Expand Down Expand Up @@ -132,6 +133,7 @@ export default {
// Druxt Configuration
druxt: {
baseUrl,
// endpoint: '/jsonapi',

// Druxt Blocks module settings.
blocks: {
Expand All @@ -155,8 +157,8 @@ export default {

// Druxt proxy settings.
proxy: {
// Enable API proxy based on environment variable.
api: process.env.API_PROXY === '1',
// JSON:API Proxy (can not be used in Static builds).
// api: true
},

// Druxt Router module settings.
Expand Down

0 comments on commit 08173c8

Please sign in to comment.