Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r20202: LJSUP-9721: We should display new rating...

Committer: gariev
LJSUP-9721: We should display new rating in ljtimes
Making alpha/omega serve LJTimes
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-10-03 09:25:04 UTC (rev 20201)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-10-03 09:43:08 UTC (rev 20202)
@@ -301,8 +301,11 @@
 
     ## This is a hack for alpha/beta/omega servers to make them 
     ## send static files (e.g. http://stat.livejournal.com/lanzelot/img/menu/div.gif?v=1)
+    ## and LJTimes (e.g. http://stat.livejournal.com/tools/endpoints/lj_times_full_js.bml?lang=ru)
     ## Production static files are served by CDN (http://l-stat.livejournal.com)
-    if ($LJ::IS_LJCOM_BETA && $host eq 'stat.livejournal.com' && $uri !~ m!^/(stc|img|js)!) {
+    if ($LJ::IS_LJCOM_BETA && $host eq 'stat.livejournal.com' 
+        && $uri !~ m!^/(stc|img|js)! && $uri !~ m!\.bml$!) 
+    {
          $uri = "/stc$uri";
          LJ::Request->uri($uri);
     }

Tags: gariev, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments