Open wfjsw opened 3 months ago
Hey, sorry for late reaction. And you are using env variable, or login command? I've tested the apiUrl in the config and I haven't found any issues with that.
I did logged in with command and it requires apiurl arg at that time. Let me try once again later...
Hmm tried once again with npx @tolgee/cli login
without --api-url
and now it works. Dunno what's the deal with the undefined
thing.
> npx @tolgee/cli login xxxxx
✅ Logged in as *** on undefined. Welcome back!
> npx @tolgee/cli pull
🐭✅ Fetching strings from Tolgee...
🐭✅ Extracting strings...
✅ Done!
Looking at the authentcation file it is stored in a separated entry than that stored with --api-url
. Is this expected?
I'll need to check the login functionality, it seems like it's not very intuitive.
Starting from some recent CLI version, using
npx @tolgee/cli pull
was not sufficient to authenticate to the self-hosted server whenapiUrl
is present in.tolgeerc.yaml
.Instead, I must do
npx @tolgee/cli --api-url https://server pull