mirror of
https://codeberg.org/aryak/mozhi
synced 2025-06-04 00:41:07 +05:30
add support for selecting certain engines in API
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
var nonAlphanumericRegex = regexp.MustCompile(`[^a-zA-Z]+`)
|
||||
var nonAlphaRegex = regexp.MustCompile(`[^a-zA-Z0-9]+`)
|
||||
var nonAlphanumericRegex = regexp.MustCompile(`[^a-zA-Z,]+`)
|
||||
var nonAlphaRegex = regexp.MustCompile(`[^a-zA-Z0-9,]+`)
|
||||
|
||||
func GetQueryOrFormValue(c *fiber.Ctx, key string) string {
|
||||
if c.Method() == "POST" {
|
||||
|
Reference in New Issue
Block a user