Commit
·
95b25e8
1
Parent(s):
b318189
test
Browse files
docker-entrypoint-wrapper.sh
CHANGED
@@ -46,7 +46,8 @@ done
|
|
46 |
# Set NEXTAUTH_URL based on SPACE_HOST if available
|
47 |
if [ -n "$SPACE_ID" ]; then
|
48 |
echo "Setting NEXTAUTH_URL to https://huggingface.co/spaces/${SPACE_ID}"
|
49 |
-
export NEXTAUTH_URL="https://huggingface.co/spaces/${SPACE_ID}"
|
|
|
50 |
else
|
51 |
echo "WARNING: SPACE_ID not found"
|
52 |
fi
|
|
|
46 |
# Set NEXTAUTH_URL based on SPACE_HOST if available
|
47 |
if [ -n "$SPACE_ID" ]; then
|
48 |
echo "Setting NEXTAUTH_URL to https://huggingface.co/spaces/${SPACE_ID}"
|
49 |
+
# export NEXTAUTH_URL="https://huggingface.co/spaces/${SPACE_ID}"
|
50 |
+
export NEXTAUTH_URL="http://localhost:3000"
|
51 |
else
|
52 |
echo "WARNING: SPACE_ID not found"
|
53 |
fi
|