www-site-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r974733 - /websites/staging/www/trunk/content/dyn/closer.lua
Date Sun, 06 Dec 2015 13:53:39 GMT
What about the original source, which is in:

https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/dyn

Surely that should normally be updated first and then pushed to the website?

On 6 December 2015 at 13:11,  <humbedooh@apache.org> wrote:
> Author: humbedooh
> Date: Sun Dec  6 13:11:58 2015
> New Revision: 974733
>
> Log:
> update here as well, oops
>
> Modified:
>     websites/staging/www/trunk/content/dyn/closer.lua
>
> Modified: websites/staging/www/trunk/content/dyn/closer.lua
> ==============================================================================
> --- websites/staging/www/trunk/content/dyn/closer.lua (original)
> +++ websites/staging/www/trunk/content/dyn/closer.lua Sun Dec  6 13:11:58 2015
> @@ -230,6 +230,13 @@ function handle(r)
>          defs.preferred = URL['http']
>      end
>
> +    -- string only repr of preferred URL
> +    if get.preferred and get.preferred == "true" then
> +        r.content_type = "text/plain"
> +        r:puts(defs.preferred)
> +        return apache2.OK
> +    end
> +
>      local do_json = false
>      if (get.as_json and not (get.as_json == "0")) or (get.asjson and not (get.asjson
== "0")) then
>          do_json = true
>
>

Mime
View raw message