cloudflare/worker-template-router
Tentang
This template demonstrates using the itty-router package to add routing to your Cloudflare Workers.
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliRouter
This template demonstrates using the itty-router package to add routing to your Cloudflare Workers.
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 configuring and 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
Jelajahi proyek terkait
Memuat…