···79798080const defaultMinimumCacheTTLSec = 14400;
81818282-const defaultLocalPatterns = { pathname: "/**" };
8282+// Allow any local image when no localPatterns are specified.
8383+// This regexp was generated using the image manifest generated by setting the local patterns
8484+// to [{ pathname: "/**" }] in the next config.
8585+const defaultLocalPatterns = [
8686+ {
8787+ pathname: "^(?:\\/(?!\\.{1,2}(?:\\/|$))(?:(?:(?!(?:^|\\/)\\.{1,2}(?:\\/|$)).)*?))$",
8888+ },
8989+];