add first draft working docker setup
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { SERVER_IP, PROXY_PORT } from '../../../../config.ts';
|
||||
|
||||
const BASE_URL = typeof window === 'undefined'
|
||||
? `http://${SERVER_IP}:${PROXY_PORT}`
|
||||
: '';
|
||||
const BASE_URL =
|
||||
typeof window === 'undefined'
|
||||
? typeof process !== 'undefined'
|
||||
? process.env.PROXY_URL ||
|
||||
`http://${process.env.SERVER_IP || '192.168.1.225'}:${process.env.PROXY_PORT || '3456'}`
|
||||
: ''
|
||||
: '';
|
||||
|
||||
async function memberFetch<T = unknown>(
|
||||
method: string,
|
||||
|
||||
Reference in New Issue
Block a user