docs: def send_static_file(self, filename):
          '''
          Override default static handling:
          - raises 404 if not debug
          - handle static aliases
          '''
          if not self.debug:
              self.logger.error('Static files are only served in debug')
              abort(404)
  
          cache_timeout = self.get_send_file_max_age(filename)
  
          # Default behavior
          if isfile(join(self.static_folder, filename)):
              return send_static(self.static_folder, filename,
                                 cache_timeout=cache_timeout)
  
          # Handle aliases
          for prefix, directory in self.config.get('STATIC_DIRS', tuple()):
              if filename.startswith(prefix):
                  real_filename = filename[len(prefix):]
                  if real_filename.startswith('/'):
                      real_filename = real_filename[1:]
                  if isfile(join(directory, real_filename)):
                      return send_static(directory, real_filename,
                                         cache_timeout=cache_timeout)
          abort(404)