8000 CSP improvement and remove logging by chozzz · Pull Request #28 · ingra-ai/ingra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CSP improvement and remove logging #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2024
Merged

CSP improvement and remove logging #28

merged 2 commits into from
Jun 25, 2024

Conversation

chozzz
Copy link
Member
@chozzz chozzz commented Jun 25, 2024

No description provided.

chozzz added 2 commits June 25, 2024 18:50
This commit refactors the code in the functions.ts file by removing the unused import of MIXPANEL_TOKEN from the @lib/constants module.
Additionally, it removes the console.log statement that logs the Mixpanel token. These changes aim to clean up the codebase and remove
unnecessary code.

In the utils.ts file, the commit removes the geo property from the analytics object returned by the getAnalyticsObject function. This
property was not being used and was therefore removed to simplify the code.
…style, img, connect, and font. Added 'https://script.hotjar.com' to

script-src, removed 'https://static.hotjar.com' from style-src, img-src, connect-src, and font-src. Also, added 'https://cdn.jsdelivr.net'
to style-src, img-src, connect-src, and font-src. Finally, added 'https://script.hotjar.com' to script-src.
Copy link
vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ingra-hubs ⬜️ Ignored (Inspect) Jun 25, 2024 8:52am

@chozzz chozzz merged commit 1b8f41b into main Jun 25, 2024
2 checks passed
chozzz added a commit that referenced this pull request Nov 24, 2024
* Refactor code and remove unused imports and console.log statements

This commit refactors the code in the functions.ts file by removing the unused import of MIXPANEL_TOKEN from the @lib/constants module.
Additionally, it removes the console.log statement that logs the Mixpanel token. These changes aim to clean up the codebase and remove
unnecessary code.

In the utils.ts file, the commit removes the geo property from the analytics object returned by the getAnalyticsObject function. This
property was not being used and was therefore removed to simplify the code.

* Update next.config.mjs with additional source directives for script, style, img, connect, and font. Added 'https://script.hotjar.com' to
script-src, removed 'https://static.hotjar.com' from style-src, img-src, connect-src, and font-src. Also, added 'https://cdn.jsdelivr.net'
to style-src, img-src, connect-src, and font-src. Finally, added 'https://script.hotjar.com' to script-src.
chozzz added a commit that referenced this pull request Nov 25, 2024
* Refactor code and remove unused imports and console.log statements

This commit refactors the code in the functions.ts file by removing the unused import of MIXPANEL_TOKEN from the @lib/constants module.
Additionally, it removes the console.log statement that logs the Mixpanel token. These changes aim to clean up the codebase and remove
unnecessary code.

In the utils.ts file, the commit removes the geo property from the analytics object returned by the getAnalyticsObject function. This
property was not being used and was therefore removed to simplify the code.

* Update next.config.mjs with additional source directives for script, style, img, connect, and font. Added 'https://script.hotjar.com' to
script-src, removed 'https://static.hotjar.com' from style-src, img-src, connect-src, and font-src. Also, added 'https://cdn.jsdelivr.net'
to style-src, img-src, connect-src, and font-src. Finally, added 'https://script.hotjar.com' to script-src.
chozzz added a commit that referenced this pull request Dec 9, 2024
* Refactor code and remove unused imports and console.log statements

This commit refactors the code in the functions.ts file by removing the unused import of MIXPANEL_TOKEN from the @lib/constants module.
Additionally, it removes the console.log statement that logs the Mixpanel token. These changes aim to clean up the codebase and remove
unnecessary code.

In the utils.ts file, the commit removes the geo property from the analytics object returned by the getAnalyticsObject function. This
property was not being used and was therefore removed to simplify the code.

* Update next.config.mjs with additional source directives for script, style, img, connect, and font. Added 'https://script.hotjar.com' to
script-src, removed 'https://static.hotjar.com' from style-src, img-src, connect-src, and font-src. Also, added 'https://cdn.jsdelivr.net'
to style-src, img-src, connect-src, and font-src. Finally, added 'https://script.hotjar.com' to script-src.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0