Skip to content
Discussion options

You must be logged in to vote

@miller-productions Try this one

require('dotenv').config()
const config = {
  title: 'my title',
  tagline: 'my tagline',
  url: process.env.DOCS_URL || 'https://my-docs.someurl',
}

It will work for you

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@miller-productions
Comment options

@purecodecoach
Comment options

@miller-productions
Comment options

Answer selected by miller-productions
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants