Skip to content

Commit

Permalink
chore: update playground config
Browse files Browse the repository at this point in the history
  • Loading branch information
monsat committed Jul 31, 2022
1 parent b58d2fa commit f0d3bda
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
17 changes: 16 additions & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ import BasicAuth from '../src/module'

export default defineNuxtConfig({
modules: [
BasicAuth,
[BasicAuth, {
enabled: true,
}],
],
runtimeConfig: {
basicAuth: {
productionDomains: [
'localhost:4044',
'localhost:5055',
],
pairs: {
admin: 'test',
foo: 'bar',
},
realm: 'Auth',
},
},
})
5 changes: 0 additions & 5 deletions src/runtime/plugin.ts

This file was deleted.

0 comments on commit f0d3bda

Please sign in to comment.