From 6f9cc288714ccff089f654d25b7b2654791ac5e1 Mon Sep 17 00:00:00 2001 From: Melpa Date: Thu, 23 Oct 2014 01:04:29 -0400 Subject: [PATCH] Update stable settings to account for new stable.melpa.org domain. --- cfg/etc/nginx/sites-available/melpa-stable | 1 + html/js/melpa.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cfg/etc/nginx/sites-available/melpa-stable b/cfg/etc/nginx/sites-available/melpa-stable index e1698859..43f0889a 100644 --- a/cfg/etc/nginx/sites-available/melpa-stable +++ b/cfg/etc/nginx/sites-available/melpa-stable @@ -31,6 +31,7 @@ server { # Make site accessible from http://localhost/ server_name localhost; server_name *.milkbox.net; + server_name *.melpa.org; # proxy to Apache 2 and mod_python location / { diff --git a/html/js/melpa.js b/html/js/melpa.js index 90a40760..074d66f5 100644 --- a/html/js/melpa.js +++ b/html/js/melpa.js @@ -362,7 +362,7 @@ // Changing the appearance of the MELPA Stable page ////////////////////////////////////////////////////////////////////////////// - melpa.stable = m.prop(window.location.host === 'melpa-stable.milkbox.net'); + melpa.stable = m.prop(window.location.host === 'melpa-stable.milkbox.net' || window.location.host === 'stable.melpa.org'); melpa.archivename = {}; melpa.archivename.controller = function() { this.archiveName = function() {