Skip to content

Commit 61830a6

Browse files
committed
[futurepress#74] README improvement
1 parent 0c0e216 commit 61830a6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ and [old][Old Architecture] RN architectures.
5151
## Content
5252

5353
- [Getting Started](#getting-started)
54-
- [Bundling-in Server Assets Into an App Statically](#bundling-in-server-assets-into-an-app-statically)
54+
- [Bundling-in Server Assets Into an App Statically]
5555
- [Enabling Alias module]
5656
- [Enabling Rewrite module]
5757
- [Enabling WebDAV module]
@@ -221,6 +221,7 @@ and [old][Old Architecture] RN architectures.
221221
```
222222
223223
### Bundling-in Server Assets Into an App Statically
224+
[Bundling-in Server Assets Into an App Statically]: #bundling-in-server-assets-into-an-app-statically
224225
225226
The assets to be served by the server may come to the target device in different
226227
ways, for example, they may be generated during the app's runtime, or downloaded
@@ -397,6 +398,15 @@ _etc._ functionality for selected routes.
397398
398399
**BEWARE:** _As of now, props and locks are not supported._
399400
401+
**BEWARE:** _If you have set up the server to serve static assets bundled into
402+
the app, the chances are your server works with a readonly location on most
403+
platforms (in the case of Android it is anyway necessary to unpack bundled
404+
assets to the regular filesystem, thus there the server might be serving
405+
from a writeable location already). The easiest way around it is to use
406+
[mod_alias][Enabling Alias module] to point URLs configured for [mod_webdav]
407+
to a writeable filesystem location, different from that of the served static
408+
assets._
409+
400410
To enable [mod_webdav] in the library you need (1) configure your host RN app
401411
to build Lighttpd with [mod_webdav] included; (2) opt-in to use it for selected
402412
routes when you create [Server] instance, using `extraConfig` option.

0 commit comments

Comments
 (0)