Skip to content

Commit

Permalink
remove api
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaind committed Oct 14, 2024
1 parent ee78096 commit 2f71b57
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 87 deletions.
62 changes: 0 additions & 62 deletions api/index.js

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"version": "1.0.0",
"dependencies": {
"@stoplight/prism-http": "^5.0.0",
"@stoplight/prism-core": "^5.0.0",
"@stoplight/http-spec": "^6.0.0",
"js-yaml": "^4.1.0",
"url": "^0.11.0"
}
}
}

9 changes: 4 additions & 5 deletions pos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ info:
url: https://pandac.in
email: [email protected]
servers:
# - url: 'https://api.pandac.in/v1'
# description: Production server
# - url: 'https://sandbox.api.pandac.in/v1'
# description: Testing server
- url: 'https://pos-system-api-orpin.vercel.app/api/v1'
- url: 'https://api.pandac.in/v1'
description: Production server
- url: 'https://sandbox.api.pandac.in/v1'
description: Testing server
paths:
/auth/login:
post:
Expand Down
25 changes: 10 additions & 15 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"routes": [
{
"src": "/api/(.*)",
"dest": "api/index.js"
},
{
"handle": "filesystem"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}

"routes": [
{
"handle": "filesystem"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}

0 comments on commit 2f71b57

Please sign in to comment.