apex / apex/up

Add regex capabilities to redirects

Đang mở
#796 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Feature Accepted
Ngôn ngữ chính
Go
Star
8.8k
Fork
383
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [ ] Are you an Up Pro subscriber?

## Description
It would be great to add regex capabilities to redirects like so:
```
redirects: {
"/folder/:slug(regexhere)": {
"location": "https://.../:slug",
"status": 301
}
}
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.