From 22f23e20f1e9df609f3d386ba48a73a4d6187371 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Thu, 26 Jan 2023 03:10:36 -0800 Subject: [PATCH] fixing config file -- correct database mount location. --- backend/pkg/config/config.go | 2 +- config.yaml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/pkg/config/config.go b/backend/pkg/config/config.go index 184007a5..5317e27f 100644 --- a/backend/pkg/config/config.go +++ b/backend/pkg/config/config.go @@ -28,7 +28,7 @@ func (c *configuration) Init() error { c.SetDefault("web.src.frontend.path", "/opt/fasten/web") - c.SetDefault("database.location", "/opt/fasten/db/fasten.db") //TODO: should be /opt/fasten/fasten.db + c.SetDefault("database.location", "/opt/fasten/db/fasten.db") c.SetDefault("jwt.issuer.key", "thisismysupersecuressessionsecretlength") diff --git a/config.yaml b/config.yaml index ca406398..47783c50 100644 --- a/config.yaml +++ b/config.yaml @@ -20,7 +20,10 @@ web: frontend: path: /opt/fasten/web database: - location: 'fasten.db' + location: '/opt/fasten/db/fasten.db' log: file: '' #absolute or relative paths allowed, eg. web.log level: INFO +jwt: + issuer: + key: "thisismysupersecuressessionsecretlength"