We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4b6c06 commit 5898cf7Copy full SHA for 5898cf7
1 file changed
chat2db-client/src/components/ImportConnection/index.tsx
@@ -6,13 +6,14 @@ import i18n from '@/i18n';
6
const uploadFileType = {
7
ncx: {
8
accept: '.ncx',
9
- uploadUrl: '/api/converter/ncx/upload',
+ uploadUrl: window._BaseURL + '/api/converter/ncx/upload',
10
},
11
dbp: {
12
accept: '.dbp',
13
- uploadUrl: '/api/converter/dbp/upload',
+ uploadUrl: window._BaseURL + '/api/converter/dbp/upload',
14
15
};
16
+
17
interface IImportConnectionProps {
18
open: boolean;
19
onClose: () => void;
0 commit comments