@steedos/service-pages 2.3.1 → 2.3.2-beta.3
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.
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
* @Date: 2022-04-04 16:34:28
|
|
4
4
|
* @Description:
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
const router = express.Router();
|
|
6
|
+
const router = require('@steedos/router').staticRouter();
|
|
8
7
|
const core = require('@steedos/core');
|
|
9
8
|
const ejs = require('ejs');
|
|
10
9
|
const fs = require('fs');
|
|
11
10
|
const _ = require('lodash');
|
|
12
11
|
const path = require('path');
|
|
13
12
|
const objectql = require('@steedos/objectql');
|
|
14
|
-
|
|
15
13
|
router.get('/api/pageDesign', core.requireAuthentication, async function (req, res) {
|
|
16
14
|
try {
|
|
17
15
|
res.set('Content-Type', 'text/html');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-pages",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2-beta.3",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "1f337e8da176f1c75a8596b29ec7889eca996dc1",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|