Back

Version 90

11/26/2024
import { Hono } from "npm:hono";
import { html } from "npm:hono/html";

const app = new Hono();

const SENTRY_KEY = Deno.env.get("SENTRY_KEY") as string;
const SENTRY_HOST = Deno.env.get("SENTRY_HOST") as string;
const SENTRY_PROJECT_ID = Deno.env.get("SENTRY_PROJECT_ID") as string;
const jsEndpoint = "sentry.js";

app.get("/", c =>
c.html(html`<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
font-family: Arial, sans-serif;
max-width: 600px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
h1 {
color: #333;
}
</style>
<title>Sentry Testing</title>
<script type="module" src="/myapp.js"></script>
</head>
<body>
<h1>🐞 Sentry Tracking Demo</h1>
</body>
</html>
`));

nbbaier-sentrytesting.web.val.run
Updated: November 26, 2024