ascentiaci / ascentiaci.ca

Ascentia Career Institute Main Marketing Site
1 stars 1 forks source link

Replace old url for form submission #57

Closed fireball8931 closed 4 weeks ago

fireball8931 commented 4 weeks ago

This time it's based on staging, not main

trunk-io[bot] commented 4 weeks ago

Merging to main in this repository is managed by Trunk.

cloudflare-pages[bot] commented 4 weeks ago

Deploying ascentiaci-ca with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5d9cfb6
Status: ✅  Deploy successful!
Preview URL: https://060704ab.ascentiaci-ca.pages.dev
Branch Preview URL: https://fix-n8n-link.ascentiaci-ca.pages.dev

View logs

github-actions[bot] commented 4 weeks ago

Risk Level 5 - /home/runner/work/ascentiaci.ca/ascentiaci.ca/src/js/careerforms.js

The added line contains a hardcoded webhook URL which is a potential security risk. Exposing URLs like this can lead to misuse or unauthorized access. Consider moving the URL to a configuration file or environment variable.

Example:

var webhookUrl = process.env.WEBHOOK_URL;

🔍⚠️🔒


Powered by Code Review GPT