We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92e459f + 48547b6 commit 8099c26Copy full SHA for 8099c26
lib/cog/bundle/warehouse.ex
@@ -1,9 +1,9 @@
1
defmodule Cog.Bundle.Warehouse do
2
- @registry_url "https://warehouse.operable.io"
+ @registry_url "https://warehouse.cog.bot"
3
4
def get_config(bundle, version) do
5
headers = ["Accepts": "application/json"]
6
- response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}", headers: headers)
+ response = HTTPotion.get(@registry_url <> "/api/bundles/#{bundle}/#{version}.json", headers: headers)
7
8
case response do
9
%HTTPotion.Response{status_code: 200, body: body} ->
0 commit comments