Skip to content

Releases: tsndr/cloudflare-worker-router

v2.0.1

27 Jun 07:35
v2.0.1
4b67744
Compare
Choose a tag to compare
  • Fixed .cors()
  • Clean up

v2.0.0

26 Jun 00:32
97c98fe
Compare
Choose a tag to compare

See Migration from v1.x.x to v2.x.x

Changes

v1.3.10

26 Jun 00:01
v1.3.10
cc7018c
Compare
Choose a tag to compare
1.3.10

v1.3.9

25 Jun 23:43
0b61151
Compare
Choose a tag to compare
  • Updated workflow
  • Added disclaimer to readme
  • Added chaining ability to .debug()

v1.3.8

25 Jun 11:51
13d0ed5
Compare
Choose a tag to compare

Added custom 404 route to readme

v1.3.7

25 Jun 11:11
v1.3.7
Compare
Choose a tag to compare
  • Added option to set a catch all route
router.get('*', (req, res) => {
    res.status = 404
    res.headers.set('Content-Type', 'text/html; charset=utf-8')
    res.body = "<h1>No one's home, sorry!</h1>"
})

v1.3.6

24 Jun 16:58
5fd57cb
Compare
Choose a tag to compare
update to `v.1.3.6`

v1.3.5

24 Jun 16:49
25c1f2c
Compare
Choose a tag to compare
  • Adding missing types to index.d.ts export

v1.3.4

08 Jun 16:26
ae0c933
Compare
Choose a tag to compare

v1.3.3

08 Jun 12:54
d82f47b
Compare
Choose a tag to compare

Made Request user extendable