Sync live notes list

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-03-29 08:41:51 +08:00
parent c6eaae9ae1
commit f5c85e5a10
7 changed files with 321 additions and 186 deletions
+1 -6
View File
@@ -5,7 +5,7 @@ import (
"honoka-chan/handler"
"honoka-chan/middleware"
"honoka-chan/sifcap"
"honoka-chan/tools"
_ "honoka-chan/tools"
"honoka-chan/xclog"
"github.com/gin-gonic/gin"
@@ -16,11 +16,6 @@ func init() {
}
func main() {
tools.AnalysisApi1Data("assets/api1.json")
tools.AnalysisApi2Data("assets/api2.json")
tools.AnalysisApi3Data("assets/api3.json")
// tools.ListUnitData()
if config.Conf.SifCap.Enabled {
sifcap.Start()
} else {