mirror of
https://github.com/unraid/api.git
synced 2026-01-09 01:59:57 -06:00
fix: ensure we're in the right dir for .env
This commit is contained in:
@@ -179,7 +179,7 @@ _start() {
|
||||
cd $node_base_directory
|
||||
|
||||
# Local .env
|
||||
if [ -f .env ]; then
|
||||
if [ -f $node_base_directory/node-api/.env ]; then
|
||||
# Load Environment Variables
|
||||
export $(egrep -v '^#' $node_base_directory/node-api/.env | xargs)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user