file server images in prod and internet sourced images in other environments

This commit is contained in:
Owen
2024-12-18 11:51:55 +01:00
parent 5188c399b8
commit 32b5473222
2 changed files with 17 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
defmodule PlantIdDiscordBotTest.Mocks.PlantNet.Images do
@moduledoc """
Mocks images passed to the PlantNet API. This means that the response will not be the images you have uploaded, but rather the response from the images below.
"""
def images() do
[
"https://upload.wikimedia.org/wikipedia/commons/f/ff/Prunus_cerasifera_A.jpg",
"https://le-jardin-de-pascal.com/2195113-large_default/prunus-cerasifera-atropurpurea-prunier-myrobolan-nigra.jpg"
]
end
end