diff --git a/backend/.DS_Store b/backend/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/backend/.DS_Store and /dev/null differ diff --git a/frontend/routes.rb b/frontend/routes.rb index 9a3df95..bb857c9 100644 --- a/frontend/routes.rb +++ b/frontend/routes.rb @@ -1,3 +1,7 @@ ArchivesSpace::Application.routes.draw do - match('/plugins/top_containers_labels/print_labels' => 'top_containers_labels#print_labels', :via => [:post]) -end + [AppConfig[:frontend_proxy_prefix], AppConfig[:frontend_prefix]].uniq.each do |prefix| + scope prefix do + match('/plugins/top_containers_labels/print_labels' => 'top_containers_labels#print_labels', :via => [:post]) + end + end +end \ No newline at end of file