fix(backend): ignored docs this should be built before running by the user
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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:
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user