Feat : Fetching daily limit is working

This commit is contained in:
2025-10-29 12:40:38 +05:30
parent 8bf603544f
commit ded4a2edc9
8 changed files with 195 additions and 52 deletions

View File

@@ -4,21 +4,6 @@ const isWindows = os.platform() === "win32";
// Security headers
const securityHeaders = [
{
key: "Content-Security-Policy",
value: `
default-src 'self';
script-src 'self' 'unsafe-inline' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
font-src 'self';
connect-src 'self' http://localhost:8080 https://yourdomain.com;
frame-ancestors 'none';
object-src 'none';
base-uri 'self';
form-action 'self';
`.replace(/\n/g, ""), // remove newlines
},
{
key: "Referrer-Policy",
value: "strict-origin-when-cross-origin",