🧹
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { Button, Card, message, Modal, PageHeader, Spin } from 'antd'
|
||||
import { Card, message, Modal, PageHeader, Spin } from 'antd'
|
||||
import { getSession } from '../api'
|
||||
import settings from '../settings'
|
||||
|
||||
type Props = {
|
||||
clientId: string
|
||||
@@ -36,7 +35,8 @@ export const SessionPictures = ({ clientId }: Props) => {
|
||||
|
||||
const closeModal = () => setActiveUrl(null)
|
||||
|
||||
const host = settings.env === 'jank' ? 'http://192.168.1.107:5000' : ''
|
||||
const host =
|
||||
process.env.NODE_ENV === 'development' ? 'http://192.168.1.107:5000' : ''
|
||||
|
||||
if (!urls?.length) return null
|
||||
|
||||
|
Reference in New Issue
Block a user