From e41dc8d1e345e1d88d097ba45dcafb1640d5589d Mon Sep 17 00:00:00 2001 From: Joshua Shaw Date: Tue, 26 Jul 2022 07:10:11 -0400 Subject: [PATCH] routes under prefix --- backend/.DS_Store | Bin 6148 -> 0 bytes frontend/routes.rb | 8 ++++++-- 2 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 backend/.DS_Store diff --git a/backend/.DS_Store b/backend/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 '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