-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: configure base path via environment variable #7968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 8 Ignored Deployments
|
Hello Cube, I just need some pointers to make sure I'm taking this in the right direction! I'll update docs shortly |
Hi @jasondamour 👋 This looks directionally good. Would be great to have docs updated! |
@@ -1642,6 +1642,8 @@ const variables: Record<string, (...args: any) => any> = { | |||
.asString(), | |||
defaultApiScope: () => get('CUBEJS_DEFAULT_API_SCOPES') | |||
.asArray(','), | |||
basePath: () => get('CUBEJS_API_BASE_PATH') | |||
.asArray(','), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about .asArray(',')
here... it's just a string?
.asArray(','), | |
.asString(), |
Check List
Add environment variable for configuring API base path