Skip to content

Commit

Permalink
Update README.md and publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
applicazza committed Jun 22, 2021
1 parent a4e053d commit 0e272dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
- name: Build
run: yarn build
- name: Publish
run: yarn npm publish
run: yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ yarn add @applicazza/fastify-nextjs
yarn add fastify-static
```

Disable compression in Next.js (next.config.js)

```js
module.exports = {
compress: false,
};
```

Default example

```ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
"test": "jest --coverage"
},
"types": "dist/index.d.ts",
"version": "0.0.3"
"version": "0.0.4"
}

0 comments on commit 0e272dc

Please sign in to comment.