vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r22537: LJSUP-13166: Third level domain for lj-t...

Committer: vad
LJSUP-13166: Third level domain for lj-toys.com to move domain to CDN
U   trunk/cgi-bin/LJ/EmbedModule.pm
Modified: trunk/cgi-bin/LJ/EmbedModule.pm
===================================================================
--- trunk/cgi-bin/LJ/EmbedModule.pm	2012-07-31 19:30:39 UTC (rev 22536)
+++ trunk/cgi-bin/LJ/EmbedModule.pm	2012-07-31 20:26:51 UTC (rev 22537)
@@ -492,7 +492,7 @@
     $params{vid}    = $video_params{vid}    if exists $video_params{vid};
 
     my $auth_token = LJ::eurl(LJ::Auth->sessionless_auth_token('embedcontent', %params));
-    my $iframe_link = "http://$LJ::EMBED_MODULE_DOMAIN/?auth_token=$auth_token" .
+    my $iframe_link = "http://$LJ::EMBED_MODULE_DOMAIN_CDN/?auth_token=$auth_token" .
         join('', map { "&$_=" . LJ::eurl($params{$_}) } keys %params);
     my $iframe_tag = qq {<iframe src="$iframe_link" } .
         qq{width="$width" height="$height" frameborder="0" class="lj_embedcontent" $id></iframe>};

Tags: livejournal, pm, vad, vadvs
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