Skip to content

Commit

Permalink
Enable short URLs in the playground
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Aug 7, 2023
1 parent 9c3fbcd commit d9ad973
Show file tree
Hide file tree
Showing 11 changed files with 1,842 additions and 41 deletions.
13 changes: 13 additions & 0 deletions playground/db/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# db

Key-value store based on [Workers KV](https://developers.cloudflare.com/workers/runtime-apis/kv/).

Used to persist code snippets in the playground and generate shareable URLs.

## Getting started

To run locally, login via `wrangler`, and run `wrangler dev`. The worker will run on `localhost:8787`.
When run in development node, playground will automatically send requests to the worker development
server.

To deploy, run `wrangler publish`.
Loading

0 comments on commit d9ad973

Please sign in to comment.