diff --git a/frontend/src/components/project/submit/SubmitCard.vue b/frontend/src/components/project/submit/SubmitCard.vue
index 024042e0..7c01e15f 100644
--- a/frontend/src/components/project/submit/SubmitCard.vue
+++ b/frontend/src/components/project/submit/SubmitCard.vue
@@ -3,10 +3,13 @@
{{ $t("submit.submit_title") }}
-
+ Error
+
-
+
+
+
@@ -30,10 +33,16 @@
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 39603e6d..f73aa5fb 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -6,7 +6,7 @@ import vue from "@vitejs/plugin-vue";
import fs from "fs";
import VueI18nPlugin from "@intlify/unplugin-vue-i18n/vite";
-const isTesting = process.env.NODE_ENV === 'test'
+const needsCertificate = process.env.NODE_ENV === 'development'
export default defineConfig({
plugins: [
@@ -22,7 +22,7 @@ export default defineConfig({
},
},
server: {
- https: isTesting ? undefined : {
+ https: !needsCertificate ? undefined : {
key: fs.readFileSync('./local-cert/localhost-key.pem'),
cert: fs.readFileSync('./local-cert/localhost.pem')
},