Skip to content

Commit 3d653fc

Browse files
authored
chore(logger): reference nuxt.config.ts instead of nuxt.config.js (#527)
1 parent 5b82d8b commit 3d653fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default defineNuxtModule<ModuleOptions>({
167167

168168
// Warn if the url isn't set.
169169
if (!finalUrl) {
170-
logger.warn('Missing supabase url, set it either in `nuxt.config.js` or via env variable')
170+
logger.warn('Missing supabase url, set it either in `nuxt.config.ts` or via env variable')
171171
}
172172
else {
173173
// Use the default storage key as defined by the supabase-js client if no cookiePrefix is set.
@@ -179,7 +179,7 @@ export default defineNuxtModule<ModuleOptions>({
179179

180180
// Warn if the key isn't set.
181181
if (!nuxt.options.runtimeConfig.public.supabase.key) {
182-
logger.warn('Missing supabase anon key, set it either in `nuxt.config.js` or via env variable')
182+
logger.warn('Missing supabase anon key, set it either in `nuxt.config.ts` or via env variable')
183183
}
184184

185185
// Warn for deprecated features.

0 commit comments

Comments
 (0)