@platformatic/service 2.5.0 → 2.5.2
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/lib/start.js +1 -1
- package/package.json +9 -9
- package/schema.json +2 -2
package/lib/start.js
CHANGED
|
@@ -43,7 +43,7 @@ async function createServer (serverContext) {
|
|
|
43
43
|
const root = fastify(fastifyOptions)
|
|
44
44
|
root.decorate('platformatic', { configManager, config })
|
|
45
45
|
await root.register(app, { context })
|
|
46
|
-
if (!root.hasRoute({ url: '/', method: 'GET' })) {
|
|
46
|
+
if (!root.hasRoute({ url: '/', method: 'GET' }) && !root.hasRoute({ url: '/*', method: 'GET' })) {
|
|
47
47
|
await root.register(require('./root-endpoint'))
|
|
48
48
|
}
|
|
49
49
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"plt-service": "./service.mjs"
|
|
8
8
|
},
|
|
9
|
-
"author": "
|
|
9
|
+
"author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "git+https://github.com/platformatic/platformatic.git"
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"rfdc": "^1.3.1",
|
|
77
77
|
"semgrator": "^0.3.0",
|
|
78
78
|
"undici": "^6.9.0",
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/
|
|
81
|
-
"@platformatic/
|
|
82
|
-
"@platformatic/
|
|
83
|
-
"@platformatic/
|
|
84
|
-
"@platformatic/
|
|
85
|
-
"@platformatic/utils": "2.5.
|
|
79
|
+
"@platformatic/client": "2.5.2",
|
|
80
|
+
"@platformatic/config": "2.5.2",
|
|
81
|
+
"@platformatic/telemetry": "2.5.2",
|
|
82
|
+
"@platformatic/generators": "2.5.2",
|
|
83
|
+
"@platformatic/ts-compiler": "2.5.2",
|
|
84
|
+
"@platformatic/scalar-theme": "2.5.2",
|
|
85
|
+
"@platformatic/utils": "2.5.2"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|
|
88
88
|
"test": "pnpm run lint && borp -T --concurrency=1 --timeout=180000 && tsd",
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.5.
|
|
3
|
-
"version": "2.5.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.5.2.json",
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"title": "Platformatic Service",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|