Is this project deployable on a Hobby account? #196
-
I created #173 to figure out what was going wrong with my deployment, and I'm guessing it's because I'm on hobby plan and don't have my .env variables setup correctly. PROJECT_ID_VERCEL=
TEAM_ID_VERCEL=
AUTH_BEARER_TOKEN=************************ const response = await fetch(
`https://api.vercel.com/v8/projects/${process.env.PROJECT_ID_VERCEL}/domains?teamId=${process.env.TEAM_ID_VERCEL}`,
{
body: `{\n "name": "${domain}"\n}`,
headers: {
Authorization: `Bearer ${process.env.AUTH_BEARER_TOKEN}`,
"Content-Type": "application/json",
},
method: HttpMethod.POST,
}
); Can this be amended to run on a hobby account that doesn't need TEAM_ID_VERCEL and PROJECT_ID_VERCEL? |
Beta Was this translation helpful? Give feedback.
Answered by
steven-tey
Feb 10, 2023
Replies: 1 comment 2 replies
-
This should work on a Hobby plan! In this case if you're not using a team, you can just exclude the Apologies on the confusion here, I'll add some comments around that :) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
steven-tey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work on a Hobby plan! In this case if you're not using a team, you can just exclude the
teamId
query parameter.Apologies on the confusion here, I'll add some comments around that :)