Canvas sites
The canvas section sets the total static-asset budget and lists your sites. A bare path
mounts a directory at /; the long form sets an explicit route for a sub-path
(handy for a public site plus an admin or reviewer area).
TypeDefaultMeaning
- Type
- size
- Default
- platform default
- Meaning
- Total storage across all Canvas sites in the slice.
- Type
- path | map
- Default
- none
- Meaning
- A bare path mounts at
/. Long form{ dir, route }mountsdiratroute.
canvas:
canvas_size: 50MB
sites:
- ./canvas/public # mounted at /
- dir: ./canvas/reviewer
route: /reviewer # mounted at /reviewer