☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

uploads

Table of contents

Description:

This key defines the paths for the default location of newly uploaded site files.

You can use dynamic placeholders for uploads and dam_uploads.

Appears in:
└── paths
    └── uploads
Type:
string
Default value:
uploads
Examples:

In this example, we have configured the uploads path for the blog Collection.

Copied to clipboard
collections_config:
  blog:
    paths:
      uploads: /uploads/blog/
{
  "collections_config": {
    "blog": {
      "paths": {
        "uploads": "/uploads/blog/"
      }
    }
  }
}
Open in a new tab