diff --git a/back/src/main/java/be/naaturel/letsmeet/controllers/EventController.java b/back/src/main/java/be/naaturel/letsmeet/controllers/EventController.java
index 06f4925..66245c0 100644
--- a/back/src/main/java/be/naaturel/letsmeet/controllers/EventController.java
+++ b/back/src/main/java/be/naaturel/letsmeet/controllers/EventController.java
@@ -18,7 +18,7 @@ public class EventController {
}
- @GetMapping({"/event", "/event/{token}"})
+ @GetMapping({"/event/{token}/", "/event/{token}"})
public ResponseEntity> get(@PathVariable String token){
try{
diff --git a/front/.env.development b/front/.env.development
new file mode 100644
index 0000000..6af39e6
--- /dev/null
+++ b/front/.env.development
@@ -0,0 +1 @@
+VITE_API_URL = http://127.0.0.1:5001/
\ No newline at end of file
diff --git a/front/.env.production b/front/.env.production
new file mode 100644
index 0000000..8459e5c
--- /dev/null
+++ b/front/.env.production
@@ -0,0 +1 @@
+VITE_API_URL =
\ No newline at end of file
diff --git a/front/src/components/Button.vue b/front/src/components/Button.vue
index 6815b81..2870dbc 100644
--- a/front/src/components/Button.vue
+++ b/front/src/components/Button.vue
@@ -2,12 +2,13 @@
const props = defineProps<{
description: string;
+ action?: Function;
}>();
- {{ description }}
+ {{ description }}