@myassis/gateway 1.0.15 → 1.0.16
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/config/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const __dirname = path.dirname(__filename);
|
|
|
11
11
|
* dist/config/index.js → 上三级 = 包根目录
|
|
12
12
|
*/
|
|
13
13
|
function getPackageRootDir() {
|
|
14
|
-
return path.resolve(__dirname, '..', '..'
|
|
14
|
+
return path.resolve(__dirname, '..', '..');
|
|
15
15
|
}
|
|
16
16
|
const getEnvPath = () => {
|
|
17
17
|
// 1. 用户工作目录(运行时配置优先)
|
|
@@ -12,7 +12,7 @@ const logger = getLogger('SessionStore');
|
|
|
12
12
|
* ESM 下用 import.meta.url 定位,比 process.execPath 可靠
|
|
13
13
|
*/
|
|
14
14
|
function getPackageRootDir() {
|
|
15
|
-
// dist/SessionStore.js → 包根目录
|
|
15
|
+
// dist/services/session/SessionStore.js → 包根目录
|
|
16
16
|
return path.resolve(__dirname, '..', '..', '..');
|
|
17
17
|
}
|
|
18
18
|
export function getDataDir() {
|