Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 6a3b97c

Browse files
committed
update readme
1 parent 4991188 commit 6a3b97c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ Initializes remix-electron. Returns a promise with a url to load in the browser
9696

9797
Options:
9898

99-
- `serverBuild`: The path to your server build (e.g. `path.join(__dirname, 'build')`), or the server build itself (e.g. required from `@remix-run/dev/server-build`). Updates on refresh are only supported when passing a path.
99+
- `serverBuild`: The path to your server build (e.g. `path.join(__dirname, 'build')`), or the server build itself (e.g. required from `@remix-run/dev/server-build`). Updates on refresh are only supported when passing a path string.
100100

101101
- `mode`: The mode the app is running in. Can be `"development"` or `"production"`. Defaults to `"production"` when packaged, otherwise uses `process.env.NODE_ENV`.
102102

103-
- `publicFolder`: The folder where static assets are served from, including your browser build. Defaults to `"public"`.
103+
- `publicFolder`: The folder where static assets are served from, including your browser build. Defaults to `"public"`. Non-relative paths are resolved relative to `app.getAppPath()`.
104104

105105
- `getLoadContext`: Use this to inject some value into all of your remix loaders, e.g. an API client. The loaders receive it as `context`
106106

0 commit comments

Comments
 (0)