diff --git a/data/db/db.sqlite b/data/db/db.sqlite
deleted file mode 100644
index 2309e8e4..0000000
Binary files a/data/db/db.sqlite and /dev/null differ
diff --git a/data/logos/svg/441d3783-06aa-436a-b438-359300ee0371.svg b/data/logos/svg/441d3783-06aa-436a-b438-359300ee0371.svg
deleted file mode 100644
index c1a2cbe..0000000
--- a/data/logos/svg/441d3783-06aa-436a-b438-359300ee0371.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/data/logos/svg/7eacd9f0-bfa0-4928-a9b6-936140168f58.svg b/data/logos/svg/7eacd9f0-bfa0-4928-a9b6-936140168f58.svg
deleted file mode 100644
index f743c9d..0000000
--- a/data/logos/svg/7eacd9f0-bfa0-4928-a9b6-936140168f58.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
diff --git a/frontend/src/logo.js b/frontend/src/logo.js
index aaafd6e..81304c1 100644
--- a/frontend/src/logo.js
+++ b/frontend/src/logo.js
@@ -2,7 +2,7 @@ import './style.css'
import gsap from 'gsap'
// Configuration
-const API_BASE_URL = window.location.hostname === 'localhost' ? '/api' : 'http://localhost:8080'
+const API_BASE_URL = '' // Requests will be made to the same origin, and Vite will proxy /logos to the backend
// Get UUID from URL
const urlParams = new URLSearchParams(window.location.search)
diff --git a/frontend/vite.config.js b/frontend/vite.config.js
index 0859caa..db98819 100644
--- a/frontend/vite.config.js
+++ b/frontend/vite.config.js
@@ -7,10 +7,11 @@ export default defineConfig({
port: 3000,
open: true,
proxy: {
- '/api': {
+ // Proxy all /logos/* requests to the backend
+ '^/logos/.*': {
target: process.env.VITE_API_URL || 'http://localhost:8080',
changeOrigin: true,
- rewrite: (path) => path.replace(/^\/api/, '')
+ secure: false
}
}
},