moved db to /data
All checks were successful
build and deploy kleinTodo / build (push) Successful in 11s
All checks were successful
build and deploy kleinTodo / build (push) Successful in 11s
This commit is contained in:
parent
b9dbc0c29a
commit
4a402c5f8d
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,3 +25,4 @@ go.work.sum
|
||||
# env file
|
||||
.env
|
||||
|
||||
/data/
|
||||
|
||||
@ -42,7 +42,7 @@ var (
|
||||
func GetTodoDataStore() (*BoltStore, error) {
|
||||
once.Do(func() {
|
||||
// We assign to the outer 'dataStore' and 'err' variables.
|
||||
dataStore, err = NewBoltStore("todo.db")
|
||||
dataStore, err = NewBoltStore("data/todo.db")
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user