File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ if [ $IS_LOCAL = true ]; then
24
24
echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $CORE_URL " >> /etc/hosts
25
25
echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $IIP_OFF_URL " >> /etc/hosts
26
26
echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $IIP_CYTO_URL " >> /etc/hosts
27
+ if [ ! -z " $IIP_JP2_URL " ]; then
28
+ echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $IIP_JP2_URL " >> /etc/hosts
29
+ fi
27
30
for x in $arr
28
31
do
29
32
echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $x " >> /etc/hosts
@@ -59,7 +62,6 @@ echo "cytomine.hdf5.scriptToFindFiles=webapps/ROOT/WEB-INF/scripts/relatedFiles.
59
62
60
63
61
64
if [ ! -z " $IIP_JP2_URL " ]; then
62
- echo " $( route -n | awk ' /UG[ \t]/{print $2}' ) $IIP_JP2_URL " >> /etc/hosts
63
65
echo " cytomine.iipImageServerJpeg2000=http://$IIP_JP2_URL /fcgi-bin/iipsrv.fcgi" >> imageserverconfig.properties
64
66
echo " cytomine.Jpeg2000Enabled=true" >> imageserverconfig.properties
65
67
fi
You can’t perform that action at this time.
0 commit comments