fix: nice one remix

This commit is contained in:
Aarnav Tale 2024-03-26 10:32:34 -04:00
parent 1a7fd1fad2
commit 22c4b9504b
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -19,8 +19,6 @@ export async function loader({ request }: LoaderFunctionArgs) {
apiKey: normal === undefined
}
console.log(data)
if (!data.oidc && !data.apiKey) {
throw new Error('No authentication method is enabled')
}

View File

@ -8,6 +8,6 @@ installGlobals()
export default defineConfig({
base: '/admin/',
plugins: [remix({
basename: '/admin'
basename: '/admin/'
}), tsconfigPaths()]
})