code: def _init_routes(self):
          
          self.url_map = Map()
          self.url_map.add(Rule('/static/_/<coll>/<path:filepath>', endpoint=self.serve_static))
          self.url_map.add(Rule('/static/<path:filepath>', endpoint=self.serve_static))
          self.url_map.add(Rule('/collinfo.json', endpoint=self.serve_listing))
  
          if self.is_valid_coll('$root'):
              coll_prefix = ''
          else:
              coll_prefix = '/<coll>'
              self.url_map.add(Rule('/', endpoint=self.serve_home))
  
          self.url_map.add(Rule(coll_prefix + self.cdx_api_endpoint, endpoint=self.serve_cdx))
          self.url_map.add(Rule(coll_prefix + '/', endpoint=self.serve_coll_page))
          self.url_map.add(Rule(coll_prefix + '/timemap/<timemap_output>/<path:url>', endpoint=self.serve_content))
  
          if self.recorder_path:
              self.url_map.add(Rule(coll_prefix + self.RECORD_ROUTE + '/<path:url>', endpoint=self.serve_record))
  
          if self.proxy_prefix is not None:
              # Add the proxy-fetch endpoint to enable PreservationWorker to make CORS fetches worry free in proxy mode
              self.url_map.add(Rule('/proxy-fetch/<path:url>', endpoint=self.proxy_fetch,
                                    methods=['GET', 'HEAD', 'OPTIONS']))
          self.url_map.add(Rule(coll_prefix + '/<path:url>', endpoint=self.serve_content))
docs: Initialize the routes and based on the configuration file makes available
          specific routes (proxy mode, record)