mirror of
https://github.com/strapi/strapi.git
synced 2025-07-28 19:34:51 +00:00

As a result of taking a look on PR #1967 I realized there is 819 executable files in this repository. It is obvious this is an error.
16 lines
315 B
JavaScript
16 lines
315 B
JavaScript
'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.
|
|
*/
|
|
|
|
process.chdir(__dirname);
|
|
|
|
(() => {
|
|
const strapi = require('strapi');
|
|
strapi.start();
|
|
})();
|