joscha gay
ass
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
uh wot 887cfb802b
unbroke lol
7 days ago
.vscode added task shit 1 month ago
dist unbroke lol 7 days ago
src added unwrap lol 2 weeks ago
.gitignore baesd ruste crypto?!!?1'1??!?!!?!? 2 months ago
.prettierrc initial commit 8 months ago
Cargo.toml added some error handling, updated deps, cleaned up code 7 days ago
LICENSE added code 8 months ago
README.md initial commit 8 months ago
index.html switched to different method of getting stream urls cause of retarded quota 2 weeks ago
index.js unbroke lol 7 days ago
package-lock.json added index 1 month ago
package.json added index 1 month ago
router.js initial commit 8 months ago
webpack.config.js added index 1 month ago
wrangler.toml added unwrap lol 2 weeks ago

README.md

Router

Selects the logic to respond to requests based on the request method and URL. Can be used with REST APIs or apps that require basic routing logic.

index.js is the content of the Workers script.

Wrangler

You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:

wrangler generate myapp https://github.com/cloudflare/worker-template-router

Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about publishing your code can be found in the documentation.

Once you are ready, you can publish your code by running the following command:

wrangler publish

Serverless

To deploy using serverless add a serverless.yml file.