mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 12:00:02 -04:00
Reduced Helmet Stuff
This commit is contained in:
parent
7d924aaff4
commit
23e2d4835f
3 changed files with 7 additions and 19 deletions
|
@ -80,20 +80,8 @@ server.on('upgrade', (req, socket, head) => {
|
||||||
|
|
||||||
// Apply Helmet middleware for security
|
// Apply Helmet middleware for security
|
||||||
app.use(helmet({
|
app.use(helmet({
|
||||||
contentSecurityPolicy: {
|
contentSecurityPolicy: false // Disable CSP
|
||||||
directives: {
|
}));
|
||||||
defaultSrc: ["'self'"],
|
|
||||||
styleSrc: ["'self'", 'https:', "'unsafe-inline'"],
|
|
||||||
scriptSrc: ["'self'", 'https:', "'unsafe-inline'"],
|
|
||||||
imgSrc: ["'self'", 'data:', '*.amazonaws.com'],
|
|
||||||
fontSrc: ["'self'", 'https:', 'data:'],
|
|
||||||
mediaSrc: ["'self'", 'https:', 'data:'],
|
|
||||||
connectSrc: ["'self'", 'https:'],
|
|
||||||
frameSrc: ["'self'"],
|
|
||||||
objectSrc: ["'none'"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
|
|
||||||
// All website files are stored in the /views directory.
|
// All website files are stored in the /views directory.
|
||||||
// This takes one of those files and displays it for a site visitor.
|
// This takes one of those files and displays it for a site visitor.
|
||||||
|
|
|
@ -330,7 +330,7 @@ details[open] summary {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex; /* Ensure it stays horizontal */
|
display: flex; /* Ensure it stays horizontal */
|
||||||
align-items: center; /* Align items vertically */
|
align-items: center; /* Align items vertically */
|
||||||
color: var(--nord15);
|
color: var(--nord15) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-1 > li {
|
.navbar-1 > li {
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
<span class="mnavebutton"></span>
|
<span class="mnavebutton"></span>
|
||||||
</label>
|
</label>
|
||||||
<ul class="navbar-1">
|
<ul class="navbar-1">
|
||||||
<li><a class="rose" href="/?z">Web Proxies</a></li>
|
<li><a href="/?z">Web Proxies</a></li>
|
||||||
<li><a class="rose" href="/?g">Games</a></li>
|
<li><a href="/?g">Games</a></li>
|
||||||
<li><a class="rose" href="/?y">YouTube</a></li>
|
<li><a href="/?y">YouTube</a></li>
|
||||||
<li class="brand-logo-container">
|
<li class="brand-logo-container">
|
||||||
<a class="rose" href="/?r">Applications</a>
|
<a href="/?r">Applications</a>
|
||||||
<div class="new"></div>
|
<div class="new"></div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue