fix(infohtml): Remove Sentry script and logo from HTML template
This commit is contained in:
		| @@ -1,5 +1,12 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2024-12-26 - 3.0.53 - fix(infohtml) | ||||
| Remove Sentry script and logo from HTML template | ||||
|  | ||||
| - Removed Sentry script from the HTML template. | ||||
| - Removed Lossless GmbH logo and contact info. | ||||
| - Updated footer link to point to foss.global. | ||||
|  | ||||
| ## 2024-12-25 - 3.0.52 - fix(dependencies) | ||||
| Bump package versions in dependencies and exports. | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@api.global/typedserver', | ||||
|   version: '3.0.52', | ||||
|   version: '3.0.53', | ||||
|   description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.' | ||||
| } | ||||
|   | ||||
| @@ -96,26 +96,9 @@ export const simpleInfo = async ( | ||||
|           name="viewport" | ||||
|           content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" | ||||
|         /> | ||||
|         <script | ||||
|           src="https://browser.sentry-cdn.com/5.4.0/bundle.min.js" | ||||
|           crossorigin="anonymous" | ||||
|         ></script> | ||||
|         <script> | ||||
|           if (optionsArg.sentryDsn && optionsArg.sentryMessage) { | ||||
|             Sentry.init({ | ||||
|               dsn: '${optionsArg.sentryDsn}', | ||||
|               // ... | ||||
|             }); | ||||
|             Sentry.setExtra('location', window.location.href); | ||||
|             Sentry.captureMessage('${optionsArg.sentryMessage} @ ' + window.location.host); | ||||
|           } | ||||
|         </script> | ||||
|         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||||
|       </head> | ||||
|       <body> | ||||
|         <div class="logo"> | ||||
|           <img src="https://assetbroker.lossless.one/brandfiles/lossless/svg-minimal-bright.svg" /> | ||||
|         </div> | ||||
|         <div class="content"> | ||||
|           ${(() => { | ||||
|             const returnArray: plugins.smartntml.deesElement.TemplateResult[] = []; | ||||
| @@ -129,15 +112,6 @@ export const simpleInfo = async ( | ||||
|             } else { | ||||
|               returnArray.push(html` <div class="maintext">${optionsArg.text}</div> `); | ||||
|             } | ||||
|             if (optionsArg.sentryDsn && optionsArg.sentryMessage) { | ||||
|               returnArray.push( | ||||
|                 html`<div class="addontext"> | ||||
|                   We recorded this event. Should you continue to see this page against your | ||||
|                   expectations, feel free to mail us at | ||||
|                   <a href="mailto:hello@lossless.com">hello@lossless.com</a> | ||||
|                 </div>` | ||||
|               ); | ||||
|             } | ||||
|             if (optionsArg.redirectTo) { | ||||
|               returnArray.push( | ||||
|                 html`<div class="addontext"> | ||||
| @@ -149,9 +123,7 @@ export const simpleInfo = async ( | ||||
|           })()} | ||||
|         </div> | ||||
|         <div class="legal"> | ||||
|           <a href="https://lossless.com">Lossless GmbH</a> / © 2014-${new Date().getFullYear()} | ||||
|           / <a href="https://lossless.gmbh">Legal Info</a> / | ||||
|           <a href="https://lossless.gmbh">Privacy Policy</a> | ||||
|           <a href="https://foss.global">learn more about foss.global</a> / © 2014-${new Date().getFullYear()} Task Venture Capital GmbH | ||||
|         </div> | ||||
|       </body> | ||||
|     </html> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user