Serving static resources
This page is being updated.
RESTHeart v5 introduces many news features, improvements and changes.
As a consequence, this page will be updated soon.
Read Upgrade to v5 for a one-page description of the changes.
RESTHeart allows serving static resources.
An example configuration follows:
#### Static Web Resources # Static web resources to bind to the URL specified by the 'where' property. # The 'what' property is the path of the directory containing the resources. # The path is either absolute (starts with /) or relative to the restheart.jar file # Set embedded: true, if resources are embedded in the file restheart.jar static-resources-mounts: - what: /data/www where: /static welcome-file: index.html embedded: false