codelibrium-cli 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -182,7 +182,7 @@ async function cmdWhoami() {
|
|
|
182
182
|
|
|
183
183
|
function cmdLogin() {
|
|
184
184
|
const state = crypto.randomBytes(16).toString('hex');
|
|
185
|
-
const authUrl = `
|
|
185
|
+
const authUrl = `http://localhost:5173/cli-auth?state=${encodeURIComponent(state)}`;
|
|
186
186
|
|
|
187
187
|
const server = http.createServer((req, res) => {
|
|
188
188
|
let u;
|