@ossy/app 0.6.6 → 0.7.0
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/cli/server.js +2 -2
- package/package.json +2 -2
package/cli/server.js
CHANGED
|
@@ -44,7 +44,7 @@ app.use(middleware)
|
|
|
44
44
|
|
|
45
45
|
const ApiRouter = Router.of({ pages: ApiRoutes || [] })
|
|
46
46
|
|
|
47
|
-
app.all('
|
|
47
|
+
app.all('*all', (req, res) => {
|
|
48
48
|
const pathname = req.originalUrl
|
|
49
49
|
|
|
50
50
|
const apiRoute = ApiRouter.getPageByUrl(pathname)
|
|
@@ -63,7 +63,7 @@ app.all('/*all', (req, res) => {
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
app.listen(3000, () => {
|
|
66
|
-
console.log('
|
|
66
|
+
console.log('[@ossy/app][server] Running on http://localhost:3000');
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
async function renderToSteam(App, config) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "./src/index.js",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"/cli",
|
|
59
59
|
"README.md"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "6a2f8633fad64673fce566c2835dc15b74b9c32b"
|
|
62
62
|
}
|