fix(backend): ignored docs this should be built before running by the user

This commit is contained in:
2025-07-16 20:22:15 -05:00
parent a23b6a6e9e
commit fdf14b06c8
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -8,6 +8,7 @@ LstWrapper/bin
LstWrapper/publish LstWrapper/publish
LstWrapper/obj LstWrapper/obj
scripts/tmp scripts/tmp
backend/docs
# ---> Go # ---> Go
# If you prefer the allow list template instead of the deny list, see community template: # If you prefer the allow list template instead of the deny list, see community template:

View File

@@ -12,7 +12,7 @@ func main() {
r := gin.Default() r := gin.Default()
// Serve Docusaurus static files // 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) { r.GET("/api/ping", func(c *gin.Context) {