Skip to content

Commit

Permalink
Fix start file ts example (#1944)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy authored Dec 5, 2023
1 parent b3581b7 commit bf2979e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docusaurus/docs/dev-docs/deployment/process-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ strapi().start();
<TabItem value="typescript" label="TypeScript">

```ts title="path: ./server.js"
const strapi = require('@strapi/strapi');
const app = strapi({ distDir: '<path_to_your_out_dir>' });
app.start();
const strapi = require("@strapi/strapi");
const app = strapi({ distDir: "./dist" });
app.start();
```

</TabItem>
Expand Down

1 comment on commit bf2979e

@vercel
Copy link

@vercel vercel bot commented on bf2979e Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-git-main-strapijs.vercel.app
documentation-strapijs.vercel.app
docs-vercel-v4.strapi.io

Please sign in to comment.