create-fuzionx 0.1.27 → 0.1.28
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/package.json
CHANGED
package/templates/app.js.tpl
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { Application } from '@fuzionx/framework';
|
|
2
|
-
import webRoutes from './routes/web.js';
|
|
3
|
-
import apiRoutes from './routes/api.js';
|
|
4
2
|
|
|
5
3
|
const app = new Application({ configPath: './fuzionx.yaml' });
|
|
6
4
|
|
|
7
|
-
app.routes(webRoutes);
|
|
8
|
-
app.routes(apiRoutes);
|
|
9
|
-
|
|
10
5
|
await app.boot();
|
|
11
|
-
|
|
12
|
-
app.listen(49080, () => {
|
|
13
|
-
console.log('🚀 FuzionX running on http://localhost:49080');
|
|
14
|
-
});
|
|
6
|
+
await app.listen();
|