Skip to content

Commit

Permalink
chore(#542): update ddev config and backend id
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Oct 6, 2022
1 parent 4180404 commit 985cf0c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/drupal/.ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: drupal-9
name: druxtjs
type: drupal9
docroot: web
php_version: "7.4"
php_version: "8.1"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-module/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const baseUrl = process.env.GITPOD_WORKSPACE_ID
? `https://8080-${process.env.GITPOD_WORKSPACE_ID}.${process.env.GITPOD_WORKSPACE_CLUSTER_HOST}`
: process.env.BASE_URL || 'http://drupal-9.ddev.site'
: process.env.BASE_URL || 'http://druxtjs.ddev.site'
export default {
modules: [['druxt', { baseUrl }]],
}
2 changes: 1 addition & 1 deletion examples/druxt-site/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const baseUrl = process.env.GITPOD_WORKSPACE_ID
? `https://8080-${process.env.GITPOD_WORKSPACE_ID}.${process.env.GITPOD_WORKSPACE_CLUSTER_HOST}`
: process.env.BASE_URL || 'http://drupal-9.ddev.site'
: process.env.BASE_URL || 'http://druxtjs.ddev.site'
export default {
target: 'static',
generate: { routes: ['/'] },
Expand Down
2 changes: 1 addition & 1 deletion examples/entity-form/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const baseUrl = process.env.GITPOD_WORKSPACE_ID
? `https://8080-${process.env.GITPOD_WORKSPACE_ID}.${process.env.GITPOD_WORKSPACE_CLUSTER_HOST}`
: process.env.BASE_URL || 'http://drupal-9.ddev.site'
: process.env.BASE_URL || 'http://druxtjs.ddev.site'

export default {
buildModules: [['druxt-entity', { baseUrl }]]
Expand Down
2 changes: 1 addition & 1 deletion examples/node-client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { DruxtClient } = require('druxt')

const baseUrl = process.env.GITPOD_WORKSPACE_ID
? `https://8080-${process.env.GITPOD_WORKSPACE_ID}.${process.env.GITPOD_WORKSPACE_CLUSTER_HOST}`
: process.env.BASE_URL || 'http://drupal-9.ddev.site'
: process.env.BASE_URL || 'http://druxtjs.ddev.site'

const druxt = new DruxtClient(baseUrl)

Expand Down

0 comments on commit 985cf0c

Please sign in to comment.