This commit is contained in:
Kieran Eglin
2024-04-22 09:08:51 -07:00
parent 98c2812ee8
commit ebf5d6afb5
4 changed files with 53 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ defmodule PinchflatWeb.Router do
resources "/settings", Settings.SettingController, only: [:show, :update], singleton: true
resources "/sources", Sources.SourceController do
get "/image/:image_type", Sources.SourceController, :show_image
post "/force_download", Sources.SourceController, :force_download
post "/force_index", Sources.SourceController, :force_index
post "/force_metadata_refresh", Sources.SourceController, :force_metadata_refresh