Mercurial > prosody-modules
changeset 3446:a5a50cd34386
mod_http_upload: Fix indentation
Who used spaces?!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 18 Jan 2019 02:16:03 +0100 |
parents | 19924a2c4a48 |
children | 5f2eeebcf899 |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Thu Jan 17 19:06:51 2019 +0100 +++ b/mod_http_upload/mod_http_upload.lua Fri Jan 18 02:16:03 2019 +0100 @@ -231,12 +231,12 @@ -- http service local function set_cross_domain_headers(response) - local headers = response.headers; - headers.access_control_allow_methods = "GET, PUT, OPTIONS"; - headers.access_control_allow_headers = "Content-Type"; - headers.access_control_max_age = "7200"; - headers.access_control_allow_origin = response.request.headers.origin or "*"; - return response; + local headers = response.headers; + headers.access_control_allow_methods = "GET, PUT, OPTIONS"; + headers.access_control_allow_headers = "Content-Type"; + headers.access_control_max_age = "7200"; + headers.access_control_allow_origin = response.request.headers.origin or "*"; + return response; end local function upload_data(event, path)