Skip to content

Commit

Permalink
[api] Fix filename and update .vercelignore and vercel.json (vercel#4511
Browse files Browse the repository at this point in the history
)

- Fix a filename in the examples API
- Rename .nowignore to .vercelignore
- Rename now.json to vercel.json
  • Loading branch information
AndyBitz authored May 27, 2020
1 parent 4c61779 commit cfb84b5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ test/lib/deployment/failed-page.txt
/.env
/public
__pycache__
.vercel
File renamed without changes.
2 changes: 1 addition & 1 deletion api/examples/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default withApiHandler(async function(
res: NowResponse
) {
await extract('https://github.com/vercel/vercel/archive/master.zip', '/tmp');
const exampleList = summary('/tmp/now-master/examples');
const exampleList = summary('/tmp/vercel-master/examples');

const existingExamples = Array.from(exampleList).map(key => ({
name: key,
Expand Down
File renamed without changes.

0 comments on commit cfb84b5

Please sign in to comment.