Because I'm running the app in Docker, my 'config.json'—as specified in the 'docker-compose.yml'—is saved in this path: './data/configurations:/app/configurations'.
So this pull request (PR) checks not only the local folder 'data/configurations' in case the app is run locally, but also checks the path '/app/configurations' in case the app is run as a Docker container.
This is a small fix for an error I experienced while setting up the headless mode for automation in the dockerized app.
For example, using this URL 'https://firefly-importer.local/?automate=true&config=config.json' to trigger the import resulted in the error: 'config.json' not found in the directory 'data/configurations'.
Because I'm running the app in Docker, my 'config.json'—as specified in the 'docker-compose.yml'—is saved in this path: './data/configurations:/app/configurations'.
So this pull request (PR) checks not only the local folder 'data/configurations' in case the app is run locally, but also checks the path '/app/configurations' in case the app is run as a Docker container.