build: 👷 New compose file and entrypoints
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import React from 'react'
|
||||
import { isEmpty } from 'utils'
|
||||
|
||||
export const ErrorPage = ({ error }: { error: Error }) => {
|
||||
return (
|
||||
@ -11,7 +12,7 @@ export const ErrorPage = ({ error }: { error: Error }) => {
|
||||
flexDirection: 'column',
|
||||
}}
|
||||
>
|
||||
{!process.env.NEXT_PUBLIC_VIEWER_URL ? (
|
||||
{isEmpty(process.env.NEXT_PUBLIC_VIEWER_URL) ? (
|
||||
<>
|
||||
<h1 style={{ fontWeight: 'bold', fontSize: '30px' }}>
|
||||
NEXT_PUBLIC_VIEWER_URL is missing
|
||||
|
Reference in New Issue
Block a user