Skip to content

Commit

Permalink
doc: Deplyoment docu improvement with hint to basePath usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aho committed Aug 11, 2023
1 parent 8193730 commit bc9ed76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/guides/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ This will output two directories
- `out` - Your EventCatalog as Static HTML (recommended to use)
- `.next` - If you wish to deploy to NextJS (NextJS outputs this by default, recommended to use the `out` directory)

If you intend to deploy your catalog not in root of your domain (e.g. *www.abc.com/my-catalog/*) you need to set `basePath: '/my-catalog'` property in the
[`eventcatalog.config.js`](api/eventcatalog.config.js.md) otherwise the output will not look like you would expect.

### Hosting Options

Expand Down

0 comments on commit bc9ed76

Please sign in to comment.