Create config.default.js
Browse files
st-free/config.default.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// 内部API的IP白名单配置
|
| 2 |
+
export const internalApiWhitelist = [
|
| 3 |
+
'127.0.0.1', // localhost
|
| 4 |
+
// '::1', // localhost IPv6
|
| 5 |
+
// '192.168.1.0/24' // 本地网络示例
|
| 6 |
+
];
|