From f2eb0b058dd8ab39cdab368be9349fd2bd0e7a54 Mon Sep 17 00:00:00 2001 From: minghanm Date: Sat, 7 Dec 2024 13:49:54 -0500 Subject: [PATCH] add the 'html' option in the front end upload area --- .DS_Store | Bin 6148 -> 8196 bytes .env | 6 ++---- .env.development | 6 ++---- src/components/DragDrop.js | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.DS_Store b/.DS_Store index 819bd07544391e12a6c852f5e2b70daed698fefc..cd28e4d682a62ff949f705c0c2e3f14a52ecd16b 100644 GIT binary patch literal 8196 zcmeHMT~E|N6ukooT|vb75fWq4#8+Hd7X{+WvVaMR8p9fWP_wq%6)L4e+OBItF#D|k z!N1_Ezr_FIlb$fKk9GU=%P4oCgK)&gNp3y!Z88(;5Yg0vA#N z-XCmK#zu+*jcV&aqf!9i1TL$BW8?vfW2e|iaiCFA;ZtW1BBhEn#Sof~`!<^c8z~Mn zYB~u`Cz19n(hNnY-odk#If;fw(;5Yg0>cV$?mmmGT~dVXJ)6IO#F?aUE07&GkS^@_ z(ON^T{!s--L|5no`QUcRMdlv^t2CPVqrkj%!i*_V{WI66kUV(#j2f5u5_bx|u8#B- zQI7)llb?h5R$y1a?xEif#^LjvhZw&Lj9J>nY$JT>U~3;Eb;`I(vF{nhrsyec(K>C? zb869Mer&`lWvwrx5B9&Wdg!3v;rXx{S-OV=G&+B}2Z0|ai;KU+*!aYy z$ti2fnzr7xc4fbnI7u&VI?)?Gdnsk$9v?gIE5F-s&)ry;VdD5%!#iYd`d4 zzbSj67b|W{->@oHr9C%)cvxRqT(FlO){hqK!_^0TTz_TA^*k${KCZGhh`f>g5&Ury-}%IN~KL>c~-_v$7De z{EQ{^0=}P&iuu#+&szK1((-~`U#YS7%S)_%ZS^0tzfFDU;GRToRqckM+EI3(H}8%7 zMU$WOE^4B8rTiMGi2jm^==>U+Go!%yQ(#;VX`b`{&GPU6=WpO-Jt`Nr8)#G%G%6hjs&pK9@`oXgZJ08rk>WrjuArRhhXDTVW#0d4 K9ZYkv6!;72(T1M@ delta 140 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{MGjdEU6q~50D9QxlfWU}BI0Tu23V}d?8%Vf<4A@xsoq009jHLod7-$5@BoNI4qJbQc ORUq3LHplbKVFm!7h84H~ diff --git a/.env b/.env index 82490c4..5866cca 100644 --- a/.env +++ b/.env @@ -1,7 +1,5 @@ -REACT_APP_API_URL=https://api.harmonydata.ac.uk +REACT_APP_API_URL=http://localhost:8000 REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match -REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version -REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models -REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io +REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000/app \ No newline at end of file diff --git a/.env.development b/.env.development index c017fb8..fbcff93 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,5 @@ -REACT_APP_API_URL=https://harmonystagingtmp.azurewebsites.net/ +REACT_APP_API_URL=http://localhost:8000 REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match -REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version -REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models -REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io +REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000/app diff --git a/src/components/DragDrop.js b/src/components/DragDrop.js index 2d42aab..31a5ef6 100644 --- a/src/components/DragDrop.js +++ b/src/components/DragDrop.js @@ -83,7 +83,7 @@ function DragDrop({ Upload or drag and drop one or more questionnaires - here. Files can be in pdf, csv, txt, docx or xlsx format ( + here. Files can be in pdf, csv, txt, docx, html or xlsx format ( { e.nativeEvent.stopPropagation();