Static Files
Coral uses some special routes for serving static files:
Path | Goes to |
---|---|
/_/theme-static/(.*) |
<theme_dir>/static/$1 |
/_/raw/(.*) |
<data_dir>/$1 |
/_/raw/.git/(.*) |
Access forbidden! |
The last bit is very important. Allowing public access to the files of your Git repository could reveal sensitive information. If your data_dir
resides inside (but is not the same as) git_dir
, this is not a problem.
As the location of theme_dir
and data_dir
depends on the installation, Coral will serve the files itself by default.