diff --git a/CHANGELOG.md b/CHANGELOG.md index 55956d65..7ad1a228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## v6.11.2 + +[compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.1...v6.11.2) + +### 🩹 Fixes + +- **viewer:** Handle redirect and callback await, thank you danielroe :) ([734ef1c](https://github.com/nuxt-modules/tailwindcss/commit/734ef1c)) + +### 📖 Documentation + +- Fix paths for build ([5971b0a](https://github.com/nuxt-modules/tailwindcss/commit/5971b0a)) + +### ❤️ Contributors + +- Inesh Bose + ## v6.11.1 [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.0...v6.11.1) diff --git a/package.json b/package.json index d5bbb7fc..83e86d0f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nuxtjs/tailwindcss", - "version": "6.11.1", + "version": "6.11.2", "description": "TailwindCSS module for Nuxt", "repository": "nuxt-modules/tailwindcss", "license": "MIT", diff --git a/src/viewer.ts b/src/viewer.ts index 61857b7d..4c35c84a 100644 --- a/src/viewer.ts +++ b/src/viewer.ts @@ -34,7 +34,7 @@ export const setupViewer = async (twConfig: Partial, config: ViewerCon return sendRedirect(new H3Event(req, res), routeWithSlash, 301) } - next(); + next() }, // @ts-expect-error untyped handler parameters { route, handler: (req, res) => viewerDevMiddleware(new H3Event(req, res)) }