Skip to content

Assets

Assets like images, documents, etc. can be placed in any location inside the source folder. By default all assets are protected. To make them accessible they must be whitelisted in the repository configuration.

json
{
    "url": "http://repository.example.com:3000",
    "repository":
    {
        "index": "index.html",
        "assets": ["*.html", "*.js", "*.css", "assets/**/*"]
    }
}

Assets can be whitelisted per file, or by using glob patterns. For example the pattern assets/**/* whitelists all files and subfolder files in the assets folder.

Jitar is a project by Masking Technology