Turbo Repo Env Fixes for Docs App. (#218)

* turbo js env update

* turbo repo env fixes
This commit is contained in:
sriram veeraghanta 2023-01-31 19:52:03 +05:30 committed by GitHub
parent fbb045436c
commit d2df3330fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ function useAutocomplete() {
return item.query
},
getItemUrl({ item }) {
let url = new URL(item.url)
const url = new URL(item.url)
return `${url.pathname}${url.hash}`
},
onSelect({ itemUrl }) {

View File

@ -3,7 +3,10 @@
"globalEnv": [
"NEXT_PUBLIC_GITHUB_ID",
"NEXT_PUBLIC_GOOGLE_CLIENTID",
"NEXT_PUBLIC_API_BASE_URL"
"NEXT_PUBLIC_API_BASE_URL",
"NEXT_PUBLIC_DOCSEARCH_API_KEY",
"NEXT_PUBLIC_DOCSEARCH_APP_ID",
"NEXT_PUBLIC_DOCSEARCH_INDEX_NAME"
],
"pipeline": {
"build": {