From fdf14b06c88d3057f31184e03fb592bd9a959847 Mon Sep 17 00:00:00 2001 From: Cowch Date: Wed, 16 Jul 2025 20:22:15 -0500 Subject: [PATCH] fix(backend): ignored docs this should be built before running by the user --- .gitignore | 1 + backend/main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2285815..38a7a72 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ LstWrapper/bin LstWrapper/publish LstWrapper/obj scripts/tmp +backend/docs # ---> Go # If you prefer the allow list template instead of the deny list, see community template: diff --git a/backend/main.go b/backend/main.go index ba7345b..dcfff5f 100644 --- a/backend/main.go +++ b/backend/main.go @@ -12,7 +12,7 @@ func main() { r := gin.Default() // Serve Docusaurus static files - r.StaticFS("/lst/docs", http.Dir("../lst-docs/build")) + r.StaticFS("/lst/docs", http.Dir("docs")) r.GET("/api/ping", func(c *gin.Context) {