i give up part 2
This commit is contained in:
parent
0aa80ce65c
commit
5348cb88dc
@ -3,7 +3,7 @@ NEXT_PUBLIC_HTTP_PROXY=https://proxy.fascinated.cc
|
|||||||
NEXT_PUBLIC_SITE_NAME=BeatSaber Overlay
|
NEXT_PUBLIC_SITE_NAME=BeatSaber Overlay
|
||||||
NEXT_PUBLIC_SITE_TITLE=BeatSaber Overlay - Simple and easy to use BeatSaber overlay
|
NEXT_PUBLIC_SITE_TITLE=BeatSaber Overlay - Simple and easy to use BeatSaber overlay
|
||||||
NEXT_PUBLIC_SITE_DESCRIPTION=Free, simple, and easy to use beat saber overlay for OBS
|
NEXT_PUBLIC_SITE_DESCRIPTION=Free, simple, and easy to use beat saber overlay for OBS
|
||||||
NEXT_PUBLIC_SITE_COLOR=#0EBFE9
|
NEXT_PUBLIC_SITE_COLOR=0EBFE9
|
||||||
NEXT_PUBLIC_SITE_URL=https://bs-overlay.fascinated.cc
|
NEXT_PUBLIC_SITE_URL=https://bs-overlay.fascinated.cc
|
||||||
|
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
!!/bin/sh
|
##/bin/sh
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_API_URL env-var exists"
|
echo "Checking that NEXT_PUBLIC_API_URL env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_HTTP_PROXY"
|
test -n "$NEXT_PUBLIC_HTTP_PROXY"
|
||||||
@ -26,12 +26,12 @@ echo "Found $NEXT_PUBLIC_SITE_URL"
|
|||||||
|
|
||||||
echo "Updating static next env vars"
|
echo "Updating static next env vars"
|
||||||
|
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_HTTP_PROXY!$NEXT_PUBLIC_HTTP_PROXY!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_HTTP_PROXY#$NEXT_PUBLIC_HTTP_PROXY#g"
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_SITE_NAME!$NEXT_PUBLIC_SITE_NAME!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_NAME#$NEXT_PUBLIC_SITE_NAME#g"
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_SITE_TITLE!$NEXT_PUBLIC_SITE_TITLE!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_TITLE#$NEXT_PUBLIC_SITE_TITLE#g"
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_SITE_DESCRIPTION!$NEXT_PUBLIC_SITE_DESCRIPTION!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_DESCRIPTION#$NEXT_PUBLIC_SITE_DESCRIPTION#g"
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_SITE_COLOR!$NEXT_PUBLIC_SITE_COLOR!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_COLOR#$NEXT_PUBLIC_SITE_COLOR#g"
|
||||||
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s!APP_NEXT_PUBLIC_SITE_URL!$NEXT_PUBLIC_SITE_URL!g"
|
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_URL#$NEXT_PUBLIC_SITE_URL#g"
|
||||||
|
|
||||||
echo "Starting NextJS"
|
echo "Starting NextJS"
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
@ -29,7 +29,7 @@ class MyDocument extends Document {
|
|||||||
|
|
||||||
<meta
|
<meta
|
||||||
name="theme-color"
|
name="theme-color"
|
||||||
content={process.env.NEXT_PUBLIC_SITE_COLOR}
|
content={"#" + process.env.NEXT_PUBLIC_SITE_COLOR}
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:keywords"
|
property="og:keywords"
|
||||||
|
Reference in New Issue
Block a user