ff7d35d00a58688408cef99db3cd3af4c17905c6 tdreszer Fri Mar 11 17:19:08 2011 -0800 Kate suggested that 'genome-test' would be retargeted to 'genome-preview' but this hasn't happened yet. diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c index e3274f0..9e56d76 100644 --- src/hg/lib/hdb.c +++ src/hg/lib/hdb.c @@ -3045,31 +3045,31 @@ return FALSE; char *httpHost = getenv("HTTP_HOST"); if (httpHost == NULL) return FALSE; return startsWith(prefix, httpHost); } boolean hIsPrivateHost() /* Return TRUE if this is running on private (development) web-server. * This was originally genome-test as well as hgwdev, however genome-test * may be repurposed to direct users to the preview site instead of development site. */ { -return hHostHasPrefix("hgwdev"); +return hHostHasPrefix("hgwdev") || hHostHasPrefix("genome-test"); // FIXME: If genome-test } boolean hIsBetaHost() /* Return TRUE if this is running on beta (QA) web-server. * Use sparingly as behavior on beta should be as close to RR as possible. */ { return hHostHasPrefix("hgwbeta"); } boolean hIsPreviewHost() /* Return TRUE if this is running on preview web-server. The preview * server is a mirror of the development server provided for public * early access. */ { if (cfgOption("test.preview"))