0.2.14 • Published 5 years ago

strapi-provider-upload-digitalocean-advanced-config v0.2.14

Weekly downloads
24
License
MIT
Repository
github
Last release
5 years ago

strapi-provider-upload-digitalocean-advanced-config

This has been tested with Strapi@3.0.0-beta-8. It is not possible to use empty fields with strapi so please just add an empty string " ", if you wish to leave the field empty.

There are some inconsistencies with DigitalOcean regarding the data.Location URI returned. If filesize < 5Mb DNS-style "https://fra1.digitaloceanspaces.com" else regular style "mydomain.fra1.digitaloceanspaces.com". I have tried to solve this rewriting the data.Location URI and contacted support by digitalocean.

Configurations

You can edit the following fields.

Api access keys from digitalocean:

Key: API_key
Secret: API_secret

Endpoint URL configurable, example: "https://mydomain.fra1.digitaloceanspaces.com". Copy this URL from Digitaloceans spaces endpoint:

Endpoint: Endpoint_URL

Spaces, example: "mydomain.com". This is the root folder within spaces that can also be accessible by URL. Needs to be a domain. Cannot be just "mydomain":

Space: Space_URL

It is possible to add a subfolder/s within the root folder. IMPORTANT: End path with "/". For no folder please add " "(space):

Folder: Path of folder/s

Tag a filename. Example _mydomain results to (hash)_mydomain(file-extension). For empty please add " "(space):

tagFilename: Filename_text

CDN choose if you use a CDN:

CDN: true/false

Thanks

This is a fork from https://github.com/AdamZikmund/strapi-provider-upload-digitalocean Thank you Adam Zikmund

Bugs

I am happy if you report back bugs. This is my first package to npm, so I have lots to learn from you friends.

Resources

Links

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago