Added support for wildcard prefix in server patterns (#191)

* Added support for wildcard prefix in server patterns

This update introduces the ability to use a wildcard prefix in server patterns for domain matching. It also includes corresponding tests for this new functionality, ensuring "*.domain.com" style patterns can be handled correctly.
This commit is contained in:
Umputun
2024-05-23 01:56:58 -05:00
committed by GitHub
parent 73c492804d
commit 57552c1798
3 changed files with 19 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ jobs:
- name: build and test
run: |
go test -race -v -timeout=100s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
go test -v -timeout=100s -p 1 -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
go build -race ./...
cat $GITHUB_WORKSPACE/profile.cov_tmp | grep -v "mocks" | grep -v "_mock" > $GITHUB_WORKSPACE/profile.cov
working-directory: app