hoffnib especially gay
Go to file
uh wot e3104e3cde
fixed mime types, cleaned up formats
2021-09-02 02:57:42 +02:00
.vscode added task shit 2021-08-14 14:52:02 +02:00
dist fixed mime types, cleaned up formats 2021-09-02 02:57:42 +02:00
src switched to different method of getting stream urls cause of retarded quota 2021-09-01 21:40:01 +02:00
.gitignore baesd ruste crypto?!!?1'1??!?!!?!? 2021-08-02 17:26:47 +02:00
.prettierrc initial commit 2021-01-24 15:41:29 +01:00
Cargo.toml small optimization 2021-08-23 18:55:33 +02:00
LICENSE added code 2021-01-25 01:39:01 +01:00
README.md initial commit 2021-01-24 15:41:29 +01:00
index.html switched to different method of getting stream urls cause of retarded quota 2021-09-01 21:40:01 +02:00
index.js fixed mime types, cleaned up formats 2021-09-02 02:57:42 +02:00
package-lock.json added index 2021-08-16 19:52:51 +02:00
package.json added index 2021-08-16 19:52:51 +02:00
router.js initial commit 2021-01-24 15:41:29 +01:00
webpack.config.js added index 2021-08-16 19:52:51 +02:00
wrangler.toml fixed mime types, cleaned up formats 2021-09-02 02:57:42 +02:00

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.