Permalink
Browse files

Support custom endpoints, useful when testing against local db

  • Loading branch information...
1 parent 3ae59f2 commit a303dfa78f16d597287022b796ec82f94e15aec1 @chrisavl chrisavl committed Sep 11, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/dynamodb.erl
View
@@ -12,7 +12,8 @@ endpoint("us-west-1" ++ _R) -> "dynamodb.us-west-1.amazonaws.com";
endpoint("us-west-2" ++ _R) -> "dynamodb.us-west-2.amazonaws.com";
endpoint("ap-northeast-1" ++ _R) -> "dynamodb.ap-northeast-1.amazonaws.com";
endpoint("ap-southeast-1" ++ _R) -> "dynamodb.ap-southeast-1.amazonaws.com";
-endpoint("eu-west-1" ++ _R) -> "dynamodb.eu-west-1.amazonaws.com".
+endpoint("eu-west-1" ++ _R) -> "dynamodb.eu-west-1.amazonaws.com";
+endpoint(CustomEndpoint) -> CustomEndpoint.

0 comments on commit a303dfa

Please sign in to comment.