fixed tree again lol
This commit is contained in:
parent
025e339d7a
commit
1a79b7beac
@ -71,6 +71,7 @@ change `main` to your specific repo's branch and you should be good to go!
|
|||||||
- [ ] sort by date etc
|
- [ ] sort by date etc
|
||||||
- [ ] reply to replies
|
- [ ] reply to replies
|
||||||
- [ ] set security controls per page
|
- [ ] set security controls per page
|
||||||
|
- [ ] auto refresh on post
|
||||||
- [ ] dynamically generated links for all avaiable pages
|
- [ ] dynamically generated links for all avaiable pages
|
||||||
- [ ] sitemap
|
- [ ] sitemap
|
||||||
- [ ] anti robot shit here
|
- [ ] anti robot shit here
|
||||||
|
@ -17,7 +17,7 @@ import (
|
|||||||
|
|
||||||
const repoURL = "https://git.tcp.direct/S4D/tcp-wiki.git"
|
const repoURL = "https://git.tcp.direct/S4D/tcp-wiki.git"
|
||||||
const repoBRANCH = "main"
|
const repoBRANCH = "main"
|
||||||
const localPath = "../data"
|
const localPath = "data"
|
||||||
|
|
||||||
var commentsDB *bitcask.Bitcask
|
var commentsDB *bitcask.Bitcask
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ func main() {
|
|||||||
log.Fatalf("Failed to clone repository: %v", err)
|
log.Fatalf("Failed to clone repository: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
commentsDB, err = bitcask.Open("../comments.db")
|
commentsDB, err = bitcask.Open("comments.db")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Failed to open comments database: %v", err)
|
log.Fatalf("Failed to open comments database: %v", err)
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
//...
|
//...
|
||||||
|
|
||||||
if r.URL.Path == "../assets/favicon.ico" {
|
if r.URL.Path == "assets/favicon.ico" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user