mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
插件取消exe限制
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package deploy
|
||||
|
||||
import (
|
||||
"ALLinSSL/backend/internal/cert/deploy/aliyun"
|
||||
"ALLinSSL/backend/internal/cert/deploy/doge"
|
||||
"ALLinSSL/backend/internal/cert/deploy/plugin"
|
||||
"ALLinSSL/backend/public"
|
||||
@@ -62,6 +63,9 @@ func Deploy(cfg map[string]any, logger *public.Logger) error {
|
||||
case "aliyun-waf":
|
||||
logger.Debug("部署到阿里云WAF...")
|
||||
return DeployAliyunWaf(cfg)
|
||||
case "aliyun-esa":
|
||||
logger.Debug("部署到阿里云ESA...")
|
||||
return aliyun.DeployAliyunESA(cfg)
|
||||
case "safeline-site":
|
||||
logger.Debug("部署雷池WAF网站...")
|
||||
return DeploySafeLineWafSite(cfg, logger)
|
||||
|
||||
@@ -287,6 +287,7 @@ INSERT INTO settings (key, value, create_time, update_time, active, type) VALUES
|
||||
INSERT INTO settings (key, value, create_time, update_time, active, type) VALUES ('port', '%d', '2025-04-15 15:58', '2025-04-15 15:58', 1, null);`, uuidStr, randomStr, port)
|
||||
|
||||
insertDefaultData(dbSetting, "settings", Isql)
|
||||
InsertIfNotExists(dbSetting, "settings", map[string]any{"key": "plugin_dir"}, []string{"key", "value", "create_time", "update_time", "active"}, []any{"plugin_dir", "plugins", "2025-04-15 15:58", "2025-04-15 15:58", 1})
|
||||
|
||||
err = sqlite_migrate.EnsureDatabaseWithTables(
|
||||
"data/accounts.db",
|
||||
|
||||
Reference in New Issue
Block a user