Your application is configured by a
divshot.json file in the project root directory.
The following are the available configuration options:
The Divshot application name. This is the same as your application's subdomain (e.g.
This is the directory that will serve as the public root. If your application uses preprocessors or any other kind of build process, you will likely want to specify this option (for example
If true, Divshot will automatically drop
.html extensions from your files. For more information see the routing guide.
You can specify custom routes by passing a map of paths and filenames. See the routing guide for more information.
A map of paths to the length of time (in seconds) that they should be cached by the CDN and the browser. By default all Divshot requests are cached until a new deploy on the CDN, and for one hour in the browser. For more information see the performance guide.
The path (relative to the
root directory) to a document to display when a page is missing or there is an error. You can also specify an external URL that will be used instead.
Exclude allows you to ignore certain files that you don't want to be served, for example
Gruntfile.js. Simply add an array of file globs to exclude.