Skip to content

Commit 61ea0f3

Browse files
committed
chore: wip
1 parent acc385a commit 61ea0f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

routes/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { route } from '@stacksjs/router'
22

3-
route.get('/api', () => 'hello world 1')
4-
route.get('/api/', () => 'hello world 2')
5-
route.get('/api/welcome', () => 'hello world 3')
6-
route.get('/api/welcome', () => 'hello world 4')
3+
route.get('/api', () => 'hello world 1') // stacksjs.org/api
4+
route.get('/api/', () => 'hello world 2') // stacksjs.org/api/
5+
route.get('/api/welcome', () => 'hello world 3') // stacksjs.org/api/welcome
6+
route.get('/api/welcome/', () => 'hello world 4') // stacksjs.org/api/welcome/
77
route.get('/api/health', () => 'healthy')
88

99
// route.group({ prefix: '/users' }, () => {

0 commit comments

Comments
 (0)