mirror of
https://github.com/lucaspalomodevelop/JSSTE_APP.git
synced 2026-03-13 00:07:22 +00:00
new jsste version
This commit is contained in:
parent
442fea7f44
commit
af9e35478f
14
package-lock.json
generated
14
package-lock.json
generated
@ -14,6 +14,7 @@
|
||||
"cors": "^2.8.5",
|
||||
"cron": "^1.8.2",
|
||||
"express": "^4.17.3",
|
||||
"jsste": "^1.2.3",
|
||||
"moment": "^2.29.1",
|
||||
"open": "^8.4.0",
|
||||
"socket.io": "^4.5.1"
|
||||
@ -947,6 +948,14 @@
|
||||
"js-yaml": "bin/js-yaml.js"
|
||||
}
|
||||
},
|
||||
"node_modules/jsste": {
|
||||
"version": "1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/jsste/-/jsste-1.2.3.tgz",
|
||||
"integrity": "sha512-n6DLmM7o4IsRv3FP0IqRTryzmN5M1Sa5HCSxh01fms2r18GGE2A81FvQVTIPDv+km2kj5DePeWckEeh1a/N0LQ==",
|
||||
"engines": {
|
||||
"node": ">= 0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/locate-path": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
||||
@ -2478,6 +2487,11 @@
|
||||
"argparse": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"jsste": {
|
||||
"version": "1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/jsste/-/jsste-1.2.3.tgz",
|
||||
"integrity": "sha512-n6DLmM7o4IsRv3FP0IqRTryzmN5M1Sa5HCSxh01fms2r18GGE2A81FvQVTIPDv+km2kj5DePeWckEeh1a/N0LQ=="
|
||||
},
|
||||
"locate-path": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"cors": "^2.8.5",
|
||||
"cron": "^1.8.2",
|
||||
"express": "^4.17.3",
|
||||
"jsste": "^1.2.1",
|
||||
"jsste": "^1.2.3",
|
||||
"moment": "^2.29.1",
|
||||
"open": "^8.4.0",
|
||||
"socket.io": "^4.5.1"
|
||||
|
||||
@ -38,7 +38,6 @@ module.exports = function (conf) {
|
||||
`${req.method} ${req.baseUrl + req.path} ${res.statusCode} | ${time}`
|
||||
);
|
||||
});
|
||||
jsste.render({ hallo: "blub" }, "<[hallo]>");
|
||||
next();
|
||||
});
|
||||
app.use(cors());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user