Skip to content

update & add region config #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

GFier
Copy link

@GFier GFier commented Aug 1, 2023

Hi! Thanks for this snippet.

Needed to download and upload assets from one space to another and this snippet was the way to do it. Currently, Storyblok has some tools but couldn't make them work.

Changes:

  • Updated dependencies.
  • Added Region option to Stroyblok-JS-client. If working with US region this is a must.
  • Added try-catch for error handling.
  • Create the download folder if doesn't exist.

@GFier
Copy link
Author

GFier commented Aug 1, 2023

LOL, I have just realized you are the CEO and CO-Founder of Storyblok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant