mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
[PR #51] [MERGED] feat: add a add_prefix middleware
#151
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yusing/godoxy/pull/51
Author: @polds
Created: 1/20/2025
Status: ✅ Merged
Merged: 1/23/2025
Merged by: @yusing
Base:
v0.8← Head:feat/path-rewrite📝 Commits (1)
01c1e48feat: add aadd_prefixmiddleware📊 Changes
2 files changed (+60 additions, -1 deletions)
View changed files
📝
internal/net/http/middleware/modify_request.go(+13 -1)📝
internal/net/http/middleware/modify_request_test.go(+47 -0)📄 Description
This will allow you to translate:
foo.mydomain.com=>192.168.1.99:8000/foo(for example)Use:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.