Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 751 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 751 Bytes

When getImageSource is not available

  1. Check if converted images is in local storge (or cache). Use it if exists
  2. If not - just get it and save it for current and future launches

You can deploy this repo onto your server with your endpoint. Don't forget to set root url (without trailing slash) in root index.js:

require('./functions/app')('/your/endpoint/uri').listen(process.env.PORT || 3000);

or leave it as is if base url will be /.

Now you can start to convert. For more details see endpoint main page.