Uploader

Directory

Where uploaded files should be stored.

Option: core.directory
Type: path
Example:

"./uploads"

Route

The route where your uploads will be served at.

Option: core.route
Type: string
Example:

"/u"
"/u/"
"/cdn"
"/cdn/"

Length

This will determine how long your randomly generated file names should be.

Remember

Make sure the length is greater than 1 or 2, this will only allow 62 or 3844 images to be uploaded.

Option: core.length
Type: number
Example:

6

Original

If this is enabled, then the original file name & extension will be kept.

Option: core.original
Type: boolean
Example:

false

Blacklisted

Blacklist certain extensions from entering your server.

Option: core.blacklisted
Type: string[]
Example:

["jpg"]

Rich Content Route

If this option is in your config then when you upload images it will return a different url with extra rich content, that can be displayed within Discord and such. You can disable this by just removing the option. Embed/theme-color can be changed within the color option.

Option: core.rich_content_route
Type: string
Example:

"/a"