Skip to content

Commit 8099c26

Browse files
authored
Merge pull request #1408 from operable/warehouse-change
Temporarily point warehouse to static site
2 parents 92e459f + 48547b6 commit 8099c26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cog/bundle/warehouse.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
defmodule Cog.Bundle.Warehouse do
2-
@registry_url "https://warehouse.operable.io"
2+
@registry_url "https://warehouse.cog.bot"
33

44
def get_config(bundle, version) do
55
headers = ["Accepts": "application/json"]
6-
response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}", headers: headers)
6+
response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}.json", headers: headers)
77

88
case response do
99
%HTTPotion.Response{status_code: 200, body: body} ->

0 commit comments

Comments
 (0)