mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-08 06:08:30 +02:00
Modernized dpcore code
- Rewritten dpcore transport object with deprecated API removed - Optimized concurrent connection counts from 32 to 256 - Updated random port range for plugins - Added debug output to plugin library
This commit is contained in:
@@ -63,6 +63,7 @@ func FSHandler(handler http.Handler) http.Handler {
|
||||
//Extract the plugin ID from the request path
|
||||
parts := strings.Split(r.URL.Path, "/")
|
||||
if len(parts) > 2 {
|
||||
//There is always a prefix slash, so [2] is the plugin ID
|
||||
pluginID := parts[2]
|
||||
pluginManager.HandlePluginUI(pluginID, w, r)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user