fix: nice one remix
This commit is contained in:
parent
1a7fd1fad2
commit
22c4b9504b
@ -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')
|
||||
}
|
||||
|
||||
@ -8,6 +8,6 @@ installGlobals()
|
||||
export default defineConfig({
|
||||
base: '/admin/',
|
||||
plugins: [remix({
|
||||
basename: '/admin'
|
||||
basename: '/admin/'
|
||||
}), tsconfigPaths()]
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user