fixed file path

This commit is contained in:
2026-01-12 16:06:06 +00:00
parent e5a8f88ade
commit 3e56b7b12f
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ func main() {
authConfig := services.AuthConfig{Secret: []byte(authSecret), Domain: domainName, RefreshTokenLifetime: refreshTokenLifetime, AccessTokenLifetime: accessTokenLifetime, Endpoint: backendEndpoint}
auth := services.InitAuth(&authConfig)
notesDir := os.Getenv("OBSIDIAN_DIR")
notesDir := "/backend/notes"
notesConfig := services.NotesConfig{Dir: notesDir}
notes := services.InitNotes(&notesConfig)

View File

@@ -59,7 +59,7 @@ services:
- ./.env
volumes:
- ./backend/token/:/backend/token
- ${OBSIDIAN_DIR}:/obsidian
- ${OBSIDIAN_DIR}:/backend/notes
db:
image: postgres:16