Skip to content

Commit

Permalink
Merge pull request #320 from Baroshem/fix/issue319
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Dec 7, 2023
2 parents d59f94c + 56ce997 commit 95a9526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions playground/nuxt.config.ts
@@ -1,8 +1,7 @@
import { defineNuxtConfig } from 'nuxt/config'
import NuxtSecurity from '../src/module'

export default defineNuxtConfig({
modules: [NuxtSecurity],
modules: ['../src/module'],

// Per route configuration
routeRules: {
Expand Down
2 changes: 1 addition & 1 deletion src/module.ts
Expand Up @@ -22,7 +22,7 @@ import {
import { headerObjectFromString, getKeyFromName } from './runtime/utils/headers'
import { hashBundledAssets } from './runtime/utils/hashes'

declare module '@nuxt/schema' {
declare module 'nuxt/schema' {
interface NuxtOptions {
security: ModuleOptions
}
Expand Down

0 comments on commit 95a9526

Please sign in to comment.