blob: e3585f7a3ee98cc9189c190b47673ed6772a3892 [file] [log] [blame] [edit]
# Copyright 2024 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# AUTO-GENERATED FILE. DO NOT EDIT.
# To update, run:
# bazel run //bazel/content_mirror/config:update
# Ensure that we don't mirror things that are already taken from GS buckets.
rewrite (storage.googleapis.com/.*) $1
rewrite (commondatastorage.googleapis.com/.*) $1
# We download the go registry from https://go.dev/dl/?mode=json&include=all
# It's constantly changing, but still downloaded with repository_ctx.download.
# Thus, we need it to go to the original location.
rewrite (go.dev/dl/\?mode=json&include=all) $1
rewrite (.*) commondatastorage.googleapis.com/chromeos-localmirror/cros-bazel/mirror/$1
rewrite (.*) localhost:8443/$1
block .*