Skip to content

Commit c932168

Browse files
committed
Update production URLs to use HTTPS.
Addressed to #72
1 parent 73234e3 commit c932168

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/main/config/nginx/503.en.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="robots" content="noindex" />
88
<title>503: maintenance</title>
99
<link rel="shortcut icon" type="image/x-icon" href="#" />
10-
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
1111
<style>
1212
body {
1313
margin: 0;
@@ -69,7 +69,7 @@ <h4 id="error-msg">
6969
</div>
7070

7171
<!-- Placed at the end of the document so the pages load faster -->
72-
<script src="http://yandex.st/jquery/1.9.1/jquery.min.js"></script>
73-
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
72+
<script src="https://yandex.st/jquery/1.9.1/jquery.min.js"></script>
73+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
7474
</body>
7575
</html>

src/main/config/nginx/503.ru.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="robots" content="noindex" />
88
<title>503: технические работы</title>
99
<link rel="shortcut icon" type="image/x-icon" href="#" />
10-
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
1111
<style>
1212
body {
1313
margin: 0;
@@ -69,7 +69,7 @@ <h4 id="error-msg">
6969
</div>
7070

7171
<!-- Placed at the end of the document so the pages load faster -->
72-
<script src="http://yandex.st/jquery/1.9.1/jquery.min.js"></script>
73-
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
72+
<script src="https://yandex.st/jquery/1.9.1/jquery.min.js"></script>
73+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
7474
</body>
7575
</html>

src/main/java/ru/mystamps/web/Url.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Slava Semushin
2929
*/
3030
public final class Url {
31-
public static final String PUBLIC_URL = "http://my-stamps.ru";
31+
public static final String PUBLIC_URL = "https://my-stamps.ru";
3232
public static final String STATIC_RESOURCES_URL = "http://stamps.filezz.ru";
3333

3434
// defined at pom.xml (and used by functional tests only)
@@ -93,11 +93,11 @@ public final class Url {
9393

9494
// see also pom.xml and ru.mystamps.web.config.MvcConfig#addResourceHandlers()
9595
// CheckStyle: ignore LineLength for next 5 lines
96-
public static final String BOOTSTRAP_CSS_CDN = "http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css";
97-
public static final String BOOTSTRAP_JS_CDN = "http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js";
98-
public static final String JQUERY_JS_CDN = "http://yandex.st/jquery/1.9.1/jquery.min.js";
99-
public static final String SELECTIZE_CSS_CDN = "http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/css/selectize.bootstrap3.min.css";
100-
public static final String SELECTIZE_JS_CDN = "http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/js/standalone/selectize.min.js";
96+
public static final String BOOTSTRAP_CSS_CDN = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css";
97+
public static final String BOOTSTRAP_JS_CDN = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js";
98+
public static final String JQUERY_JS_CDN = "https://yandex.st/jquery/1.9.1/jquery.min.js";
99+
public static final String SELECTIZE_CSS_CDN = "https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/css/selectize.bootstrap3.min.css";
100+
public static final String SELECTIZE_JS_CDN = "https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/js/standalone/selectize.min.js";
101101

102102
// see also ru.mystamps.web.support.togglz.TogglzConfig#getTogglzConsole()
103103
public static final String TOGGLZ_CONSOLE_PAGE = "/togglz";

0 commit comments

Comments
 (0)