Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: layout and remove nuxt-security for development
Browse files Browse the repository at this point in the history
  • Loading branch information
Neuery17Alt committed Apr 4, 2024
1 parent dd48aee commit c018921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 3 additions & 2 deletions frontend/components/login/LoginInputContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
<template>
<div class="sm:flex sm:justify-center">
<UContainer
class="w-full p-0 sm:w-[425px] sm:rounded-md sm:border sm:border-solid sm:border-neutral-200 sm:p-8 sm:pl-0 sm:shadow-md sm:shadow-neutral-300 sm:dark:border-neutral-700 sm:dark:shadow-none"
class="w-full p-0 sm:w-[425px] sm:rounded-lg sm:border sm:border-solid sm:border-neutral-200 sm:p-8 sm:shadow-md sm:shadow-neutral-300 sm:dark:border-neutral-700 sm:dark:shadow-none"
>
<LoginInput label="Username" margin="mb-4" />
<LoginInput label="Password" margin="mb-8" />
<UButton
class="flex w-full justify-center dark:bg-blue-500 dark:text-white"
>Sign in
>
Sign in
</UButton>
</UContainer>
</div>
Expand Down
7 changes: 0 additions & 7 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ export default defineNuxtConfig({
pathPrefix: false,
},
],
security: {
headers: {
crossOriginEmbedderPolicy:
process.env.NODE_ENV === "development" ? "unsafe-none" : "require-corp",
},
},
colorMode: {
classSuffix: "",
preference: "system",
Expand Down Expand Up @@ -64,6 +58,5 @@ export default defineNuxtConfig({
"@vite-pwa/nuxt",
"nuxt-typed-router",
"nuxt-viewport",
"nuxt-security",
],
})

0 comments on commit c018921

Please sign in to comment.