Changeset 32155

Show
Ignore:
Timestamp:
27.02.2018 15:46:08 (8 months ago)
Author:
ak19
Message:

Shouldn't hardcode localhost for codebase. Still not sure why, after this change, downloading the jnlp file on a remote machine results in an error due it searching for the jnlp resource on locahost.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/gli4gs3.xsl

    r32150 r32155  
    3737      --> 
    3838      <jnlp 
    39           spec="1.0+" 
    40           codebase="http://localhost:8383/greenstone3/applet" 
    41           href="GLIappWebStart.jnlp"> 
     39          spec="1.0+"          
     40          href="GLIappWebStart.jnlp"><!--codebase="http://localhost:8383/greenstone3/applet"--> 
     41          <xsl:attribute name="codebase"><xsl:value-of select='/page/pageRequest/@baseURL'/>applet</xsl:attribute> 
    4242          <information> 
    4343            <title>Greenstone Librarian Interface</title>