mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 08:49:16 +02:00
dont do that
This commit is contained in:
+3
-3
@@ -242,9 +242,9 @@ window.addEventListener('load', (() => {
|
||||
|
||||
function getCookieDomainAttribute() {
|
||||
const hostname = String(window.location.hostname || '').toLowerCase();
|
||||
if (hostname === 'fmtuner.org' || hostname.endsWith('.fmtuner.org')) {
|
||||
return '; domain=.fmtuner.org';
|
||||
}
|
||||
// if (hostname === 'fmtuner.org' || hostname.endsWith('.fmtuner.org')) {
|
||||
// return '; domain=.fmtuner.org';
|
||||
// }
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user