yes
This commit is contained in:
parent
633b19c20a
commit
40bf3d23a0
@ -2,16 +2,27 @@
|
|||||||
|
|
||||||
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"
|
||||||
|
echo "Found $NEXT_PUBLIC_HTTP_PROXY"
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_SITE_NAME env-var exists"
|
echo "Checking that NEXT_PUBLIC_SITE_NAME env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_SITE_NAME"
|
test -n "$NEXT_PUBLIC_SITE_NAME"
|
||||||
|
echo "Found $NEXT_PUBLIC_SITE_NAME"
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_SITE_TITLE env-var exists"
|
echo "Checking that NEXT_PUBLIC_SITE_TITLE env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_SITE_TITLE"
|
test -n "$NEXT_PUBLIC_SITE_TITLE"
|
||||||
|
echo "Found $NEXT_PUBLIC_SITE_TITLE"
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_SITE_DESCRIPTION env-var exists"
|
echo "Checking that NEXT_PUBLIC_SITE_DESCRIPTION env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_SITE_DESCRIPTION"
|
test -n "$NEXT_PUBLIC_SITE_DESCRIPTION"
|
||||||
|
echo "Found $NEXT_PUBLIC_SITE_DESCRIPTION"
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_SITE_COLOR env-var exists"
|
echo "Checking that NEXT_PUBLIC_SITE_COLOR env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_SITE_COLOR"
|
test -n "$NEXT_PUBLIC_SITE_COLOR"
|
||||||
|
echo "Found $NEXT_PUBLIC_SITE_COLOR"
|
||||||
|
|
||||||
echo "Checking that NEXT_PUBLIC_SITE_URL env-var exists"
|
echo "Checking that NEXT_PUBLIC_SITE_URL env-var exists"
|
||||||
test -n "$NEXT_PUBLIC_SITE_URL"
|
test -n "$NEXT_PUBLIC_SITE_URL"
|
||||||
|
echo "Found $NEXT_PUBLIC_SITE_URL"
|
||||||
|
|
||||||
echo "Ignore permission errors below"
|
echo "Ignore permission errors below"
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ export default class Utils {
|
|||||||
* @returns The website type's information.
|
* @returns The website type's information.
|
||||||
*/
|
*/
|
||||||
static getWebsiteApi(website) {
|
static getWebsiteApi(website) {
|
||||||
console.log(process.env);
|
|
||||||
return LeaderboardType[website];
|
return LeaderboardType[website];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user