@hazejs/core 0.1.1 → 0.1.2
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/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1803,7 +1803,7 @@ interface AppConfig {
|
|
|
1803
1803
|
requestIdHeader: string | false;
|
|
1804
1804
|
/** 多应用:`{ admin: { prefix: '/admin' }, api: { domain: 'api.example.com' } }`,目录为 app/<name>/ */
|
|
1805
1805
|
apps?: Record<string, SubAppConfig>;
|
|
1806
|
-
/**
|
|
1806
|
+
/** 应用的外部访问地址,默认读取 APP_URL;用于生成绝对链接(如存储的签名临时链接) */
|
|
1807
1807
|
url?: string;
|
|
1808
1808
|
/** 应用密钥(默认读取 APP_KEY):签名 Cookie、加密 Session、JWT 默认密钥 */
|
|
1809
1809
|
key?: string;
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hazejs/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "The hazejs runtime: IoC container, routing, middleware, auth, cache, queues, events, WebSocket, storage and mail on top of h3",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/penna-org/haze/tree/main/packages/core#readme",
|