Fix a 404 error when the site loads via www.webkit.org.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 21:17:45 +0000 (21:17 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 21:17:45 +0000 (21:17 +0000)
* wp-content/themes/webkit/status.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/status.php

index 7d7e78d..f63c3d5 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-05  Timothy Hatcher  <timothy@apple.com>
+
+        Fix a 404 error when the site loads via www.webkit.org.
+
+        * wp-content/themes/webkit/status.php:
+
 2015-12-04  Timothy Hatcher  <timothy@apple.com>
 
         Fix toggling so hidden links are not clickable still.
index 77e7e6e..4601fc0 100644 (file)
@@ -28,7 +28,7 @@ function xhrPromise(url) {
         xhrRequest.send();
     });
 }
-var origin = new URL("https://<?php echo WP_HOST == "webkit.org" ? "svn.webkit.org" : WP_HOST; ?>/");
+var origin = new URL("https://<?php echo WP_HOST == "webkit.org" || WP_HOST == "www.webkit.org" ? "svn.webkit.org" : WP_HOST; ?>/");
 var loadJavaScriptCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/JavaScriptCore/features.json", origin));
 var loadWebCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/WebCore/features.json", origin));
 </script>