fix: selfhosted fixes (#2154)

* fix: selfhosted fixes

* fix: updated env example
This commit is contained in:
sriram veeraghanta 2023-09-12 20:32:26 +05:30
parent b8dd9ca729
commit bc99ec0f1d
8 changed files with 16 additions and 9 deletions

View file

@ -12,4 +12,4 @@ fi
# Only perform action if $FROM and $TO are different.
echo "Replacing all statically built instances of $FROM with this string $TO ."
grep -R -la "${FROM}" apps/$DIRECTORY/.next | xargs -I{} sed -i "s|$FROM|$TO|g" "{}"
grep -R -la "${FROM}" $DIRECTORY/.next | xargs -I{} sed -i "s|$FROM|$TO|g" "{}"