Skip to content

Commit 055beae

Browse files
committed
chore: wip
1 parent 5ca98c5 commit 055beae

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hero:
1313
- theme: brand
1414
text: Coming Soon
1515
# text: Get Started
16-
link: /guide/get-started
16+
link: /docs/guide/get-started
1717
- theme: alt
1818
text: View on GitHub
1919
link: https://github.com/stacksjs/stacks

routes/api.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ route.get('/foo/bar/{id}', () => 'hello world, foo bar') // $API_URL/hello/world
1212
route.get('/', () => 'hello world') // $API_URL
1313
route.get('/hello/world', () => 'hello world, buddy') // $API_URL/hello/world
1414

15-
route.post('/email/subscribe', 'Actions/SubscriberEmailAction')
15+
// Email subscription endpoint
16+
route.post('/api/email/subscribe', 'Actions/SubscriberEmailAction')
1617
route.post('/login', 'Actions/Auth/LoginAction')
1718
route.post('/register', 'Actions/Auth/RegisterAction')
1819
route.post('/logout', 'Actions/Auth/LogoutAction')
@@ -24,7 +25,7 @@ route.post('/verify-authentication', 'Actions/Auth/VerifyAuthenticationAction')
2425
route.get('/coming-soon', 'Controllers/ComingSoonController@index')
2526

2627
// route.email('/welcome')
27-
await route.health() // adds a GET `/health` route
28+
route.health() // adds a GET `/health` route
2829
route.get('/install', 'Actions/InstallAction')
2930
route.post('/ai/ask', 'Actions/AI/AskAction')
3031
route.post('/ai/summary', 'Actions/AI/SummaryAction')

0 commit comments

Comments
 (0)