File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,18 @@ export default {
88 async fetch ( request ) {
99 const urlObject = new URL ( request . url ) ;
1010
11+ if ( urlObject . hostname === 'app.bitrise.io' ) {
12+ try {
13+ const probeResponse = await fetch ( 'https://bitrise.io/resources/tools/app-navigator-proxy' ) ;
14+ if ( probeResponse . ok ) {
15+ urlObject . hostname = 'bitrise.io' ;
16+ return Response . redirect ( urlObject . toString ( ) , 301 ) ;
17+ }
18+ } catch {
19+ // proxy unreachable, skip redirect to avoid loop
20+ }
21+ }
22+
1123 if ( urlObject . pathname . match ( / ^ \/ r e s o u r c e s \/ t o o l s \/ a p p - n a v i g a t o r - p r o x y $ / ) ) {
1224 return setCorsHeaders ( new Response ( 'OK' ) ) ;
1325 }
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ class DepartmentSectionFactory {
4848
4949 if ( department . name === 'Go To Market' ) {
5050 department . teams . push ( {
51- name : 'RevOps ' ,
52- slug : 'revops ' ,
51+ name : 'Revenue Operations ' ,
52+ slug : 'revenue-operations ' ,
5353 message : 'Yet to come...' ,
5454 } ) ;
5555 }
You can’t perform that action at this time.
0 commit comments