Merge branch 'origin/proxy_v2' into origin/proxy_v2
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func NewAPIOutlineHandler(path string, opts *ProxyOptions) fiber.Handler {
|
||||
func NewAPIContentHandler(path string, opts *ProxyOptions) fiber.Handler {
|
||||
// TODO: implement ruleset logic
|
||||
/*
|
||||
var rs ruleset.RuleSet
|
||||
@@ -5,9 +5,14 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
<title>ladder</title>
|
||||
<script src="/script.js" defer></script>
|
||||
<script>
|
||||
const handleThemeChange = () => {
|
||||
const theme = localStorage.getItem("theme");
|
||||
let theme = localStorage.getItem("theme");
|
||||
if (theme === null) {
|
||||
localStorage.setItem("theme", "system");
|
||||
theme = "system";
|
||||
}
|
||||
if (
|
||||
theme === "dark" ||
|
||||
(theme === "system" &&
|
||||
@@ -338,6 +343,5 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script src="/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user