Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-lippert authored Sep 26, 2023
1 parent b2d8532 commit fbdcb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class API {
}
}

if (pathname == '/api') {
if (pathname == '/api' || pathname == '/') {
const payload = JSON.stringify({
api: this.metadata,
endpoints: this.routes,
Expand Down

2 comments on commit fbdcb22

@workers-do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on fbdcb22 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

apis-do – ./

apis-do.dev.driv.ly
apis.do
apis-do-git-main.dev.driv.ly

Please sign in to comment.