Use relative paths for icons
This commit is contained in:
@ -69,7 +69,9 @@ defmodule Heroicons.Cache do
|
||||
end
|
||||
|
||||
defp read_body(path) do
|
||||
icon = File.read!(path)
|
||||
icon =
|
||||
Path.join(:code.priv_dir(:heroicons), path)
|
||||
|> File.read!()
|
||||
|
||||
<<"<svg ", body::binary>> = icon
|
||||
|
||||
|
Reference in New Issue
Block a user