Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
4f89897422
3 changed files with 4 additions and 9 deletions
  1. 1 1
      main.go
  2. 1 1
      start.go
  3. 2 7
      web/components/redirection.html

+ 1 - 1
main.go

@@ -41,7 +41,7 @@ var (
 	name        = "Zoraxy"
 	version     = "2.6.4"
 	nodeUUID    = "generic"
-	development = true //Set this to false to use embedded web fs
+	development = false //Set this to false to use embedded web fs
 	bootTime    = time.Now().Unix()
 
 	/*

+ 1 - 1
start.go

@@ -102,7 +102,7 @@ func startupSequence() {
 	*/
 
 	pathRuleHandler = pathrule.NewPathBlocker(&pathrule.Options{
-		ConfigFolder: "./rules/pathblock",
+		ConfigFolder: "./rules/pathrules",
 	})
 
 	/*

+ 2 - 7
web/components/redirection.html

@@ -72,6 +72,7 @@
           <i class="ui green checkmark icon"></i> Redirection Rules Added
         </div>
         <br><br>
+        <!--
         <div class="advancezone ui basic segment">
           <div class="ui accordion advanceSettings">
             <div class="title">
@@ -84,15 +85,9 @@
             </div>
           </div>
         </div>
+         -->
     </div>
   </div>
-
-  
-
-  <!-- Cache Rules -->
-  <div class="ui bottom attached tab segment" data-tab="tab_pathcache">
-    <p>Work In Progress</p>
-  </div>
 </div>
 <script>
     $(".advanceSettings").accordion();