sagilio opened a new pull request, #454: URL: https://github.com/apache/casbin-website/pull/454
The existing CDN resources on the current page (https://cdn.casbin.org/) are currently blocked by Apache.org's CORS policy. Since Apache.org itself already leverages a CDN, hosting these resources separately may be redundant. Therefore, we should switch to relative paths and bundle these assets with the rest of our resources. <img width="2392" height="1024" alt="image" src="https://github.com/user-attachments/assets/f6d34644-daf7-4a97-9bba-59b2ed0b29d6" /> **Asset path updates:** * Updated all language icon URLs in the `languages` array in `src/components/LanguageIntegration/index.js` to use local `/img/langs/` paths instead of external CDN links. * Updated the language icon mappings in `src/utils/languageIconMapping.ts` to use local `/img/langs/` paths rather than CDN URLs. * Changed the background video source in the `HomepageHeader` component (`src/pages/index.js`) to use the local `/video/background.mp4` file instead of the CDN version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
