From 3f39f665fac0735b2ec9c63f1d4be6b27aa567a0 Mon Sep 17 00:00:00 2001 From: Inesh Bose Date: Sun, 28 Jan 2024 19:58:41 +0000 Subject: [PATCH] chore(release): v6.11.2 --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- src/viewer.ts | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) 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)) }