增加防盗链功能

This commit is contained in:
GoEdgeLab
2022-09-22 16:33:35 +08:00
parent 13c941afd6
commit 411f29d3c5
12 changed files with 301 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{$layout}
{$template "../settings_menu"}
{$template "/left_menu_with_menu"}
<div class="right-box with-menu">
<form class="ui form" data-tea-action="$" data-tea-success="success">
<csrf-token></csrf-token>
<input type="hidden" name="webId" :value="webId"/>
<http-referers-config-box :v-referers-config="referersConfig"></http-referers-config-box>
<submit-btn></submit-btn>
</form>
</div>

View File

@@ -0,0 +1,3 @@
Tea.context(function () {
this.success = NotifyReloadSuccess("保存成功")
})