Dependencies update and database not available crash fix.

Added forgotten dependencies update.

Fixed fastpastebin crash when database isn't available and added cute
error screen for informing users about such condition (both HTML and raw).
This commit is contained in:
2019-03-07 08:39:12 +05:00
parent 19a3a5004c
commit 3fe51fc6c5
2 changed files with 3 additions and 0 deletions

View File

@@ -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)