Skip to content

Commit

Permalink
docs: add vercel config
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolipe-a committed Jan 27, 2024
1 parent 89e979f commit 7560fa8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]

## Introduction

Two Factor Authentication using `node-2fa` integration for AdonisJS.

## Documentation

See documentation at [nulix.adonis-2fa.vercel.app](https://nulix.adonis-2fa.vercel.app)

## License

AdonisJS 2FA is open-sourced software licensed under the [MIT license](LICENSE.md).

[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/nulix-dev/adonis-2fa/test.yml?style=for-the-badge
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build
# Frontend assets compiled code
public/hot
public/build
public/assets

# Build tools specific
npm-debug.log
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"license": "UNLICENSED",
"scripts": {
"export": "vite build && npm run download:sponsors && node --loader=ts-node/esm bin/build.ts",
"export": "vite build && node --loader=ts-node/esm bin/build.ts",
"postexport": "copyfiles -u 1 public/* public/**/* dist",
"download:sponsors": "node --loader=ts-node/esm bin/download_sponsors.ts",
"start": "node bin/test.js",
Expand Down
12 changes: 12 additions & 0 deletions docs/public/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"redirects": [
{
"source": "/",
"destination": "/docs/introduction"
},
{
"source": "/docs",
"destination": "/docs/introduction"
}
]
}

0 comments on commit 7560fa8

Please sign in to comment.