@honlnk/image-studio-companion 0.1.0 → 0.1.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.
- package/README.md +1 -1
- package/dist/main.js +1 -1
- package/dist/securityConfig.js +2 -2
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ rm -rf ~/.gpt-image-studio
|
|
|
221
221
|
## 安全说明
|
|
222
222
|
|
|
223
223
|
- 服务仅监听 `127.0.0.1`,不对外暴露
|
|
224
|
-
- CORS 白名单默认只允许 `https://
|
|
224
|
+
- CORS 白名单默认只允许 `https://image.honlnk.com`
|
|
225
225
|
- `--channel dev` 会额外允许 `http://127.0.0.1:8888` 和 `http://localhost:8888`
|
|
226
226
|
- `--allow-origin` 只接受完整 origin,不支持通配符
|
|
227
227
|
- 非公开端点需要配对后的 Bearer token 鉴权
|
package/dist/main.js
CHANGED
|
@@ -4,7 +4,7 @@ import { program } from "commander";
|
|
|
4
4
|
import { loadCredentials, saveCredentials, clearCredentials, maskApiKey } from "./credentials.js";
|
|
5
5
|
import { clearSession, getSessionInfo, loadSession } from "./pairingState.js";
|
|
6
6
|
import { createSecurityConfig } from "./securityConfig.js";
|
|
7
|
-
const VERSION = "0.1.
|
|
7
|
+
const VERSION = "0.1.1";
|
|
8
8
|
program
|
|
9
9
|
.name("gpt-image-studio")
|
|
10
10
|
.description("GPT Image Studio 本地 CLI Companion")
|
package/dist/securityConfig.js
CHANGED
package/dist/server.js
CHANGED