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/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:
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user