This commit is contained in:
Liam 2022-10-26 16:11:45 +01:00
parent 633b19c20a
commit 40bf3d23a0
2 changed files with 11 additions and 1 deletions

@ -2,16 +2,27 @@
echo "Checking that NEXT_PUBLIC_API_URL env-var exists"
test -n "$NEXT_PUBLIC_HTTP_PROXY"
echo "Found $NEXT_PUBLIC_HTTP_PROXY"
echo "Checking that NEXT_PUBLIC_SITE_NAME env-var exists"
test -n "$NEXT_PUBLIC_SITE_NAME"
echo "Found $NEXT_PUBLIC_SITE_NAME"
echo "Checking that NEXT_PUBLIC_SITE_TITLE env-var exists"
test -n "$NEXT_PUBLIC_SITE_TITLE"
echo "Found $NEXT_PUBLIC_SITE_TITLE"
echo "Checking that NEXT_PUBLIC_SITE_DESCRIPTION env-var exists"
test -n "$NEXT_PUBLIC_SITE_DESCRIPTION"
echo "Found $NEXT_PUBLIC_SITE_DESCRIPTION"
echo "Checking that NEXT_PUBLIC_SITE_COLOR env-var exists"
test -n "$NEXT_PUBLIC_SITE_COLOR"
echo "Found $NEXT_PUBLIC_SITE_COLOR"
echo "Checking that NEXT_PUBLIC_SITE_URL env-var exists"
test -n "$NEXT_PUBLIC_SITE_URL"
echo "Found $NEXT_PUBLIC_SITE_URL"
echo "Ignore permission errors below"

@ -10,7 +10,6 @@ export default class Utils {
* @returns The website type's information.
*/
static getWebsiteApi(website) {
console.log(process.env);
return LeaderboardType[website];
}