15 lines
316 B
JavaScript
Raw Normal View History

2019-04-05 16:11:09 +02:00
#!/usr/bin/env node
'use strict';
/**
* Use `server.js` to run your application without `$ strapi start`.
* To start the server, run: `$ npm start`.
*
* This is handy in situations where the Strapi CLI is not relevant or useful.
*/
2019-04-11 09:32:16 +02:00
const strapi = require('strapi');
2019-04-05 16:11:09 +02:00
2019-04-11 09:32:16 +02:00
strapi({
appPath: __dirname,
}).start();