There was an error while loading. Please reload this page.
Followup of #1240
Description: This change makes the mirror usable. Right now Immagine we setup the value of mirror-token to foo. In this line the value is used as
mirror-token
foo
setup-node/src/distributions/base-distribution.ts
Line 106 in 2951748
Bearer foo but in other places such as:
Bearer foo
Line 149 in 2951748
Line 210 in 2951748
its used as is.
But if we change the value to Bearer foo,
Bearer Bearer foo
So this PR makes it that if its a Bearer, the user needs to be explicit.
Bearer
Related issue: Add link to the related issue.
Check list:
Sorry, something went wrong.
fix: remove hardcoded bearer
0e2c5c9
8088193
Followup of #1240
Description:
This change makes the mirror usable.
Right now Immagine we setup the value of
mirror-tokentofoo.In this line the value is used as
setup-node/src/distributions/base-distribution.ts
Line 106 in 2951748
Bearer foobut in other places such as:setup-node/src/distributions/base-distribution.ts
Line 149 in 2951748
setup-node/src/distributions/base-distribution.ts
Line 210 in 2951748
its used as is.
But if we change the value to
Bearer foo,setup-node/src/distributions/base-distribution.ts
Line 106 in 2951748
here it becomes
Bearer Bearer foowhich is incorrect, but works everywhere else.So this PR makes it that if its a
Bearer, the user needs to be explicit.Related issue:
Add link to the related issue.
Check list: