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 fbdcb22 commit eb74985
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' || pathname == '/') {
if (pathname == '/api') {
const payload = JSON.stringify({
api: this.metadata,
endpoints: this.routes,
Expand Down

2 comments on commit eb74985

@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 eb74985 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
apis-do-git-main.dev.driv.ly
apis-do.dev.driv.ly

Please sign in to comment.