diff --git a/cmd/fastpastebin/fastpastebin.go b/cmd/fastpastebin/fastpastebin.go index 6946bfd..25419f3 100644 --- a/cmd/fastpastebin/fastpastebin.go +++ b/cmd/fastpastebin/fastpastebin.go @@ -31,6 +31,7 @@ import ( "syscall" // local + "gitlab.com/pztrn/fastpastebin/domains/database_not_available" "gitlab.com/pztrn/fastpastebin/domains/indexpage" "gitlab.com/pztrn/fastpastebin/domains/pastes" "gitlab.com/pztrn/fastpastebin/internal/captcha" @@ -60,6 +61,7 @@ func main() { captcha.New(c) + database_not_available.New(c) indexpage.New(c) pastes.New(c) diff --git a/fileb0x.yml b/fileb0x.yml index 9494780..159cf64 100644 --- a/fileb0x.yml +++ b/fileb0x.yml @@ -94,6 +94,7 @@ custom: prefix: "static/" # end: files - files: + - "assets/database_not_available.html" - "assets/error.html" - "assets/footer.html" - "assets/index.html"