Download lib/plausible_web/plugs/current_path.ex from Leon4gr45/analytics: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/spaces/Leon4gr45/analytics/resolve/main/lib/plausible_web/plugs/current_path.ex
- Command line
-
hf download hf://spaces/Leon4gr45/analytics/lib/plausible_web/plugs/current_path.ex
-
curl -L -o current_path.ex https://huggingface.co/spaces/Leon4gr45/analytics/resolve/main/lib/plausible_web/plugs/current_path.ex
172 Bytes
| defmodule PlausibleWeb.Plugs.CurrentPath do | |
| @moduledoc false | |
| def init(_), do: [] | |
| def call(conn, _), do: Plug.Conn.assign(conn, :current_path, conn.request_path) | |
| end | |