mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Security: Add "header" package for setting common response headers #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -70,10 +70,6 @@ func startAction(ctx *cli.Context) error {
|
||||
// Pass this context down the chain.
|
||||
cctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
if err := conf.Init(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// Initialize the index database.
|
||||
conf.InitDb()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user