mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-15 04:41:25 +08:00
实现重写规则管理
This commit is contained in:
11
web/views/@default/servers/server/settings/rewrite/index.js
Normal file
11
web/views/@default/servers/server/settings/rewrite/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
Tea.context(function () {
|
||||
// 创建重写规则
|
||||
this.createRewriteRule = function () {
|
||||
teaweb.popup("/servers/server/settings/rewrite/createPopup?webId=" + this.webId, {
|
||||
height: "26em",
|
||||
callback: function () {
|
||||
window.location.reload()
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user