imagemcp-cli 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/auth.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imagemcp-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "ImageMCP CLI & Authentication SDK — Seamless browser login, token encryption, and multi-model AI image generation.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/auth.js CHANGED
@@ -150,7 +150,7 @@ function getErrorHtml(errorMessage) {
150
150
  function loginFlow(options = {}) {
151
151
  const currentConfig = loadConfig();
152
152
  const apiUrl = options.apiUrl || currentConfig.apiUrl || 'https://api.imagemcpserver.com';
153
- const webUrl = options.webUrl || process.env.IMAGEMCP_WEB_URL || 'http://localhost:5173';
153
+ const webUrl = options.webUrl || 'https://imagemcpserver.com';
154
154
 
155
155
  return new Promise((resolve, reject) => {
156
156
  const server = http.createServer(async (req, res) => {