Skip to content

Commit

Permalink
Merge pull request #1169 from ericmj/emj-hex-repo
Browse files Browse the repository at this point in the history
Change to new hex.pm repo URL
  • Loading branch information
tsloughter committed Apr 21, 2016
2 parents 42c6e1a + c161ad0 commit cb7c9a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fetch({pkg, Name, Vsn}, App) ->
Dir = filename:join([filename:absname("_build/default/lib/"), App]),
case filelib:is_dir(Dir) of
false ->
CDN = "https://s3.amazonaws.com/s3.hex.pm/tarballs",
CDN = "https://repo.hex.pm/tarballs",
Package = binary_to_list(<<Name/binary, "-", Vsn/binary, ".tar">>),
Url = string:join([CDN, Package], "/"),
case request(Url) of
Expand Down
2 changes: 1 addition & 1 deletion src/rebar.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
-define(DEFAULT_TEST_DEPS_DIR, "test/lib").
-define(DEFAULT_RELEASE_DIR, "rel").
-define(DEFAULT_CONFIG_FILE, "rebar.config").
-define(DEFAULT_CDN, "https://s3.amazonaws.com/s3.hex.pm/").
-define(DEFAULT_CDN, "https://repo.hex.pm/").
-define(REMOTE_PACKAGE_DIR, "tarballs").
-define(REMOTE_REGISTRY_FILE, "registry.ets.gz").
-define(LOCK_FILE, "rebar.lock").
Expand Down

0 comments on commit cb7c9a4

Please sign in to comment.