Here is the contents of my server.js file on my new Strapi v5 project.
It is in the root of the project.
const strapi = require('@strapi/strapi');
const app = strapi.createStrapi({ distDir: './dist' });
app.start();
Here is the contents of my server.js file on my new Strapi v5 project.
It is in the root of the project.
const strapi = require('@strapi/strapi');
const app = strapi.createStrapi({ distDir: './dist' });
app.start();