brainsmatics 1.0.40 → 1.0.42
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/.storybook/middleware.js +45 -0
- package/dist/component/2d/js/index.d.ts +3 -0
- package/dist/component/2d/js/index.js +59517 -0
- package/dist/component/3d/atlas.d.ts +0 -2
- package/dist/component/3d/atlasBottomTabs/index.d.ts +16 -0
- package/dist/component/3d/atlasSiderBar/index.d.ts +75 -0
- package/dist/component/3d/index.d.ts +2 -0
- package/dist/{deflate-36897db9.mjs → deflate-3e54563f.mjs} +1 -1
- package/dist/{deflate-c0476450.js → deflate-6fdb6036.js} +1 -1
- package/dist/{index-aa8d552c.mjs → index-1692c416.mjs} +45557 -43658
- package/dist/index-d6b6efd0.js +4975 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +42 -40
- package/dist/{lerc-bf47235f.js → lerc-3e3f52e6.js} +1 -1
- package/dist/{lerc-bf9e8f1e.mjs → lerc-6f9822e8.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- package/dist/index-74410985.js +0 -4864
package/.storybook/middleware.js
CHANGED
|
@@ -70,4 +70,49 @@ module.exports = function expressMiddleware(router) {
|
|
|
70
70
|
changeOrigin: true
|
|
71
71
|
})
|
|
72
72
|
);
|
|
73
|
+
// p2p接口
|
|
74
|
+
router.use(
|
|
75
|
+
"/app-api/p2p-api",
|
|
76
|
+
createProxyMiddleware("/app-api/p2p-api",{
|
|
77
|
+
target: "http://192.168.20.124:8088/api",
|
|
78
|
+
pathRewrite: {
|
|
79
|
+
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
80
|
+
},
|
|
81
|
+
changeOrigin: true
|
|
82
|
+
})
|
|
83
|
+
);
|
|
84
|
+
// p2p接口
|
|
85
|
+
router.use(
|
|
86
|
+
"/app-api/p2p-api",
|
|
87
|
+
createProxyMiddleware("/app-api/p2p-api",{
|
|
88
|
+
target: "http://192.168.20.124:8088/api",
|
|
89
|
+
pathRewrite: {
|
|
90
|
+
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
91
|
+
},
|
|
92
|
+
changeOrigin: true
|
|
93
|
+
})
|
|
94
|
+
);
|
|
95
|
+
// p2p接口
|
|
96
|
+
router.use(
|
|
97
|
+
"/app-api/p2p-api",
|
|
98
|
+
createProxyMiddleware("/app-api/p2p-api",{
|
|
99
|
+
target: "http://192.168.20.124:8088/api",
|
|
100
|
+
pathRewrite: {
|
|
101
|
+
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
102
|
+
},
|
|
103
|
+
changeOrigin: true
|
|
104
|
+
})
|
|
105
|
+
);
|
|
106
|
+
// p2p接口
|
|
107
|
+
router.use(
|
|
108
|
+
"/app-api/p2p-api",
|
|
109
|
+
createProxyMiddleware("/app-api/p2p-api",{
|
|
110
|
+
target: "http://192.168.50.93:8088/api",
|
|
111
|
+
pathRewrite: {
|
|
112
|
+
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
113
|
+
},
|
|
114
|
+
changeOrigin: true
|
|
115
|
+
})
|
|
116
|
+
);
|
|
117
|
+
|
|
73
118
|
};
|