try fix upload for server
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
'use server'
|
||||
|
||||
import { localDevelopmentUrl } from '@/app/actions/definitions';
|
||||
import { API_BASE_URL } from '@/app/actions/definitions';
|
||||
import { getSessionData } from '@/app/actions/session';
|
||||
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'development'
|
||||
? localDevelopmentUrl
|
||||
: 'http://app:8080';
|
||||
|
||||
interface initMessageBody {
|
||||
file_name: string,
|
||||
file_type: string,
|
||||
|
||||
Reference in New Issue
Block a user