assetsPrefix

  • type: string
  • default: N/A
  • required: false

Description

Prefix all urls with the given prefix

By default, assets are served from the root (/). Adding an assetsPrefix will change the url that pages are served from.

Example

# in this case, it will serve requests from /foo
publishing:
  assetsPrefix: foo

Backlinks