X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=87a1977b5f589318d5ad409a6b6f30550ee7ad80;hb=75bdc37b619fa125e04e0d1dbafd32a54024a0a7;hp=5378ad973d319ba42f7ae35e1bfaa9ce1a31f9d7;hpb=ad86eb78d3dc395b438d1543a36eca509f53e9d4;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index 5378ad973d..87a1977b5f 100644 --- a/config.php.sample +++ b/config.php.sample @@ -41,6 +41,12 @@ $config['site']['path'] = 'statusnet'; // Make the site invisible to non-logged-in users // $config['site']['private'] = true; +// Allow Cross-Origin Resource Sharing (CORS) for service discovery +// (host-meta, XRD, etc.) Useful for AJAXy client applications. Should +// probably NOT be on for private / intranet sites but OK for public sites. +// Default is off. +// $config['discovery']['cors'] = true; + // If your web server supports X-Sendfile (Apache with mod_xsendfile, // lighttpd, nginx), you can enable X-Sendfile support for better // performance. Presently, only attachment serving when the site is