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) {