🎉 feat: 0.25

This commit is contained in:
saltyaom
2022-09-09 11:44:45 +07:00
parent aca661b11e
commit 653b70a262
12 changed files with 282 additions and 219 deletions
+3 -2
View File
@@ -3,8 +3,9 @@ import KingWorld from '../src'
import cookie from '../src/index'
const app = new KingWorld()
.get('/', ({ responseHeaders }) => {
// responseHeaders.append('a', 'b')
.get('/', ({ status, responseHeaders }) => {
responseHeaders.append('a', 'b')
status(400)
return new Response('Ok')
})