From 48547b6dd4959f0e9ba8717aa7f67fb19e906684 Mon Sep 17 00:00:00 2001 From: Nick Mohoric Date: Wed, 13 Dec 2017 23:04:42 -0500 Subject: [PATCH] Temporarily point warehouse to static site --- lib/cog/bundle/warehouse.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cog/bundle/warehouse.ex b/lib/cog/bundle/warehouse.ex index 3eca93ff..d1b3cfa8 100644 --- a/lib/cog/bundle/warehouse.ex +++ b/lib/cog/bundle/warehouse.ex @@ -1,9 +1,9 @@ defmodule Cog.Bundle.Warehouse do - @registry_url "https://warehouse.operable.io" + @registry_url "https://warehouse.cog.bot" def get_config(bundle, version) do headers = ["Accepts": "application/json"] - response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}", headers: headers) + response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}.json", headers: headers) case response do %HTTPotion.Response{status_code: 200, body: body} ->