@innet/server 2.0.0-alpha.25 → 2.0.0-alpha.26
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 -0
- package/package.json +1 -1
- package/plugins/main/api/api.es6.js +1 -1
- package/plugins/main/api/api.js +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ import { paramsContext } from '../../../hooks/useParams/useParams.es6.js';
|
|
|
14
14
|
const api = () => {
|
|
15
15
|
const handler = useNewHandler();
|
|
16
16
|
const { children, props = {}, } = useApp();
|
|
17
|
-
const { exclude, include, prefix = '', title = '', version = process.env.INNET_API_VERSION || '0.0.0' } = props, rest = __rest(props, ["exclude", "include", "prefix", "title", "version"]);
|
|
17
|
+
const { exclude, include, prefix = process.env.INNET_API_PREFIX || '', title = '', version = process.env.INNET_API_VERSION || '0.0.0' } = props, rest = __rest(props, ["exclude", "include", "prefix", "title", "version"]);
|
|
18
18
|
const info = Object.assign(Object.assign({}, rest), { title, version });
|
|
19
19
|
const endpoints = {};
|
|
20
20
|
const docs = {
|
package/plugins/main/api/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var innet__default = /*#__PURE__*/_interopDefaultLegacy(innet);
|
|
|
22
22
|
const api = () => {
|
|
23
23
|
const handler = innet.useNewHandler();
|
|
24
24
|
const { children, props = {}, } = innet.useApp();
|
|
25
|
-
const { exclude, include, prefix = '', title = '', version = process.env.INNET_API_VERSION || '0.0.0' } = props, rest = tslib.__rest(props, ["exclude", "include", "prefix", "title", "version"]);
|
|
25
|
+
const { exclude, include, prefix = process.env.INNET_API_PREFIX || '', title = '', version = process.env.INNET_API_VERSION || '0.0.0' } = props, rest = tslib.__rest(props, ["exclude", "include", "prefix", "title", "version"]);
|
|
26
26
|
const info = Object.assign(Object.assign({}, rest), { title, version });
|
|
27
27
|
const endpoints = {};
|
|
28
28
|
const docs = {
|