Added support for ip whitelist and added rest method to update/get the config file

This commit is contained in:
Leon Etienne (ubuntu wsl)
2020-10-02 13:16:57 +02:00
parent 66882b3b67
commit 5f7e4e2cf2
9 changed files with 198 additions and 23 deletions

View File

@@ -14,11 +14,6 @@
<Toggle :isOn="false"/>
</div>
<div class="option toggle flex justify-between items-center">
<p>Limit speed</p>
<Toggle :isOn="false"/>
</div>
<div class="option text narrow flex justify-between w-full items-center">
<p class="mr-3">Max speed</p>
<input type="text" id="max_speed" name="max_speed" placeholder="100M">
@@ -29,6 +24,11 @@
<input type="text" id="max_threads" name="max_threads" placeholder="10">
</div>
<div class="option toggle flex justify-between items-center">
<p>Enable whitelist</p>
<Toggle :isOn="false"/>
</div>
</div>
<div class="w-full lg:w-1/2 border-left lg:pl-3 mt-6 lg:mt-0">