diff options
Diffstat (limited to 'pdf-as-web/src/main/webapp/jsp/signupload.jsp')
-rw-r--r-- | pdf-as-web/src/main/webapp/jsp/signupload.jsp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/signupload.jsp b/pdf-as-web/src/main/webapp/jsp/signupload.jsp index 1866c46..f4ea914 100644 --- a/pdf-as-web/src/main/webapp/jsp/signupload.jsp +++ b/pdf-as-web/src/main/webapp/jsp/signupload.jsp @@ -155,11 +155,10 @@ <link rel="stylesheet" type="text/css" href="<%=baseUrl%>/css/extern-styles.css" />
<% } %>
- <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https"))) {
+ <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https")) && (!serverUrl.contains("localhost"))) {
baseUrl = baseUrl.replace("http","https"); %>
<meta HTTP-EQUIV="REFRESH" content="0; url=<%=baseUrl %>/">
<% } %>
-
<meta http-equiv="pragma" content="no-cache,no-store,private,must-revalidate,max-stale=0,post-check=0,pre-check=0"/>
<meta http-equiv="cache-control" content="no-cache,no-store,must-revalidate,max-age=-1"/>
|