70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Cloudflare Workers Playground</title>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://playground.devprod.cloudflare.dev/welcome-style.css"
|
|
/>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="flares">
|
|
<img src="https://playground.devprod.cloudflare.dev/flares.png" />
|
|
</div>
|
|
<main>
|
|
<div class="workers-logo"></div>
|
|
<p>
|
|
Welcome! Use this Playground to test drive a Worker, create a demo to
|
|
share online, and when ready deploy directly to the edge by setting up a
|
|
Cloudflare account.
|
|
</p>
|
|
<h1>What is a Worker?</h1>
|
|
<p>
|
|
A Cloudflare Worker is JavaScript code you write that handles your web
|
|
site's HTTP traffic directly in Cloudflare's edge locations around the
|
|
world, allowing you to locate code close to your end users in order to
|
|
respond to them more quickly
|
|
</p>
|
|
<h1>Try it yourself</h1>
|
|
<p>
|
|
On your left is a sample Worker that is running on this site. You can
|
|
edit it live and see the results here. Edit the path above to /api to
|
|
see how the example Worker handles different routes. You can also edit
|
|
the code to see what's possible and bring your next idea to life.
|
|
</p>
|
|
</main>
|
|
</body>
|
|
</html>
|