Data Types

WebStorage

Storage layer used for serving files from external HTTP origins.

This is a read-only storage layer.

{
"baseUrl": String,
"type": String
}
{
"baseUrl": "https://images.unsplash.com/",
"type": "Web"
}

Base URL to proxy requests to. Should contain a trailing /.

If baseUrl is undefined: then this folder will behave as an open reverse proxy.

Example 1: if the baseUrl is undefined and the folder you're configuring the storage layer on is:

https://upcdn.io/abc1234/raw/demo

Then you can issue requests such as:

https://upcdn.io/abc1234/raw/demo/https://images.unsplash.com/example.jpg

Example 2: if the baseUrl is:

https://images.unsplash.com/

And the folder you're configuring the storage layer on is:

https://upcdn.io/abc1234/raw/demo

Then you can issue requests such as:

https://upcdn.io/abc1234/raw/demo/test/example.jpg

Which will be routed to the URL:

https://images.unsplash.com/test/example.jpg

Example: "https://images.unsplash.com/"

Type: String

Min Length: 1

Max Length: 255

The type of this storage layer.

Type: String

Value: "Web"

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: