commented out headers because of error message
parent
4fe1aac48e
commit
5aee05fcde
|
@ -460,17 +460,19 @@ $html_string = '<div class="menu-container">'
|
|||
// After, print the html header to open the document for the browser.
|
||||
function print_header_mob()
|
||||
{
|
||||
header( 'Content-Type: text/html; charset=utf-8');
|
||||
header( 'X-Frame-Options: DENY', FALSE);
|
||||
header( 'HTTP Cross-Origin-Opener-Policy: same-origin', FALSE);
|
||||
header( 'Cross-Origin-Resource-Policy: same-site', FALSE);
|
||||
header( 'Permissions-Policy: geolocation=(), camera=(), microphone=()',
|
||||
FALSE);
|
||||
header( 'Permissions-Policy: interest-cohort=()', FALSE);
|
||||
header( 'Server: webserver', FALSE);
|
||||
header( 'X-DNS-Prefetch-Control: off', FALSE);
|
||||
header( 'Cache-Control: no-cache', FALSE);
|
||||
header( 'Pragma: no-cache', FALSE);
|
||||
|
||||
// header( 'Content-Type: text/html; charset=utf-8');
|
||||
// header( 'X-Frame-Options: DENY', FALSE);
|
||||
// header( 'HTTP Cross-Origin-Opener-Policy: same-origin', FALSE);
|
||||
// header( 'Cross-Origin-Resource-Policy: same-site', FALSE);
|
||||
// header( 'Permissions-Policy: geolocation=(), camera=(), microphone=()',
|
||||
// FALSE);
|
||||
// header( 'Permissions-Policy: interest-cohort=()', FALSE);
|
||||
// header( 'Server: webserver', FALSE);
|
||||
// header( 'X-DNS-Prefetch-Control: off', FALSE);
|
||||
// header( 'Cache-Control: no-cache', FALSE);
|
||||
// header( 'Pragma: no-cache', FALSE);
|
||||
|
||||
|
||||
// nginx used to throw an error with those, and gave back 502 - bad gateway
|
||||
// everything worked in latest tests, but reasons are not understood.
|
||||
|
|
Loading…
Reference in New Issue