mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
Implement S3 storage driver
This commit is contained in:
@@ -60,7 +60,7 @@ func Serve() error {
|
||||
}
|
||||
|
||||
// Route the hastebin documents route if hastebin support is enabled
|
||||
if env.Get("HASTEBIN_SUPPORT", "false") == "true" {
|
||||
if env.Bool("HASTEBIN_SUPPORT", false) {
|
||||
router.POST("/documents", rateLimiterMiddleware.Handle(v1.HastebinSupportHandler))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user