Skip to content

Commit

Permalink
docs: add subpath section to the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fpdrozd committed Apr 20, 2023
1 parent 19fc86c commit c8ad358
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ module.exports = {
```

## Serving under a subpath

You might want to serve your store under a subpath (for example: `https://example.com/shop/`). In order to do that, you just have to add a `BASE_URL` environment variable to the `.env.production` file containing a full url.

Note that in development it will still be served on the root path (`http://localhost:3000` by default) unless you change the `.env.development` file too.

## Repository structure

The monorepo contains three submodules:
Expand Down

0 comments on commit c8ad358

Please sign in to comment.