Frontend added environment

pull/3/head
TZGyn 2 years ago
parent cd836f2755
commit 828b6a5d32
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -0,0 +1 @@
backend_url=https://s.tzgyn.com

@ -26,7 +26,7 @@ import { useToast } from '@/components/ui/use-toast'
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
const backend_url = 'http://192.168.100.40:3000' const backend_url = process.env.backend_url ?? 'http://192.168.100.40:3000'
type Shortener = { type Shortener = {
id: number id: number

Loading…
Cancel
Save