Browse Source

fix(http): Update user-agent string.

jackyalcine 1 month ago
parent
commit
151d60d650
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      lib/indieweb/http.ex
  2. 1
    1
      mix.lock

+ 1
- 1
lib/indieweb/http.ex View File

@@ -42,7 +42,7 @@ defmodule IndieWeb.Http do
42 42
 
43 43
     plug(Tesla.Middleware.Headers, [
44 44
       {"user-agent",
45
-       "IndieWeb-Elixir/#{Mix.project()[:version]}-#{Mix.env()} (https://git.jacky.wtf/indieweb/elixir)"}
45
+       "IndieWeb-Elixir/#{IndieWeb.MixProject.project()[:version]}-#{Mix.env()} (https://git.jacky.wtf/indieweb/elixir)"}
46 46
     ])
47 47
   end
48 48
 

+ 1
- 1
mix.lock View File

@@ -28,7 +28,7 @@
28 28
   "parse_trans": {:hex, :parse_trans, "3.3.0", "09765507a3c7590a784615cfd421d101aec25098d50b89d7aa1d66646bc571c1", [:rebar3], [], "hexpm"},
29 29
   "sleeplocks": {:hex, :sleeplocks, "1.1.1", "3d462a0639a6ef36cc75d6038b7393ae537ab394641beb59830a1b8271faeed3", [:rebar3], [], "hexpm"},
30 30
   "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.5", "6eaf7ad16cb568bb01753dbbd7a95ff8b91c7979482b95f38443fe2c8852a79b", [:make, :mix, :rebar3], [], "hexpm"},
31
-  "tesla": {:git, "https://github.com/jalcine/tesla", "390a267a84d3b535f12e5efb6f58d66f157de57b", [branch: "jalcine/check-regex-run-results"]},
31
+  "tesla": {:git, "https://github.com/jalcine/tesla", "707ee0f4cd07d7f9d5291a3f848a00a920033455", [branch: "jalcine/check-regex-run-results"]},
32 32
   "tesla_request_id": {:hex, :tesla_request_id, "0.2.0", "9745364ed3c850864fb2744daefb9b7104fe7f1efcf34eb350c61da805de2a46", [:mix], [{:tesla, "~> 1.0", [hex: :tesla, repo: "hexpm", optional: false]}], "hexpm"},
33 33
   "unicode_util_compat": {:hex, :unicode_util_compat, "0.4.1", "d869e4c68901dd9531385bb0c8c40444ebf624e60b6962d95952775cac5e90cd", [:rebar3], [], "hexpm"},
34 34
   "unsafe": {:hex, :unsafe, "1.0.1", "a27e1874f72ee49312e0a9ec2e0b27924214a05e3ddac90e91727bc76f8613d8", [:mix], [], "hexpm"},

Loading…
Cancel
Save