mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 03:12:01 +03:00
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/pelican-dev/panel/pull/474
Author: @ItzExotical
Created: 7/9/2024
Status: ❌ Closed
Base:
main← Head:real-ip📝 Commits (3)
22cc4dcAdd ProxyHandler middlewaref7a4f5eRegister ProxyHandler middlewareebf87c4Make pint happy📊 Changes
2 files changed (+26 additions, -1 deletions)
View changed files
➕
app/Http/Middleware/ProxyHandler.php(+22 -0)📝
bootstrap/app.php(+4 -1)📄 Description
This will correctly show the user's IP if the web server is configured to do so properly and is behind a service such as Cloudflare. Tested with Caddy built with this module. Works on my instance, but would love further testing by someone. The same should be done for wings, but I am not good at Go so someone else gets that task.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.