mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-09-11 14:49:40 +02:00
Optimized plugin examples
- Fixed build script bug in plugin module copy logic - Fixed plugin example typos - Fixed the missing embeded web server handleFunc interface
This commit is contained in:
@@ -77,8 +77,8 @@ func main() {
|
||||
fmt.Println("ProtoMajor:", dsfr.ProtoMajor)
|
||||
fmt.Println("ProtoMinor:", dsfr.ProtoMinor)
|
||||
|
||||
// We want to handle this request, reply with aSniffResultAccept
|
||||
return plugin.SniffResultAccpet
|
||||
// We want to handle this request, reply with a SniffResultAccept
|
||||
return plugin.SniffResultAccept
|
||||
}
|
||||
|
||||
// If the request URI does not match, we skip this request
|
||||
|
Reference in New Issue
Block a user