isotopes icon indicating copy to clipboard operation
isotopes copied to clipboard

Add region and endpoint additional config to readme

Open pointtoken opened this issue 5 years ago • 1 comments

Great library! It might be useful in the docs to show how to configure the library, as follows:

   const seasons = new Isotope<Season>({
    domain: "seasons",                     
    key: "id"                            
  }, { region 		: 'US-East',
  endpoint 	: 'https://sdb.amazonaws.com'} );

Without this additional config, I couldn't get things working...

pointtoken avatar Aug 07 '20 03:08 pointtoken

Thanks for noting! Definitely needs to be in the docs 😄 The reason why it's not is that I still need to revisit the configuration design. I probably change it to a further key of the first parameter and maybe refactor the other options.

squidfunk avatar Aug 07 '20 08:08 squidfunk