fix: nice one remix
This commit is contained in:
parent
1a7fd1fad2
commit
22c4b9504b
2 changed files with 1 additions and 3 deletions
|
|
@ -19,8 +19,6 @@ export async function loader({ request }: LoaderFunctionArgs) {
|
||||||
apiKey: normal === undefined
|
apiKey: normal === undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(data)
|
|
||||||
|
|
||||||
if (!data.oidc && !data.apiKey) {
|
if (!data.oidc && !data.apiKey) {
|
||||||
throw new Error('No authentication method is enabled')
|
throw new Error('No authentication method is enabled')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,6 @@ installGlobals()
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/admin/',
|
base: '/admin/',
|
||||||
plugins: [remix({
|
plugins: [remix({
|
||||||
basename: '/admin'
|
basename: '/admin/'
|
||||||
}), tsconfigPaths()]
|
}), tsconfigPaths()]
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue