diff --git a/backend/src/main/java/de/szut/casino/deposit/DepositController.java b/backend/src/main/java/de/szut/casino/deposit/DepositController.java index 0312981..08a9026 100644 --- a/backend/src/main/java/de/szut/casino/deposit/DepositController.java +++ b/backend/src/main/java/de/szut/casino/deposit/DepositController.java @@ -24,7 +24,7 @@ public class DepositController { @Value("${stripe.secret.key}") private String stripeKey; - @Value("${frontend.host}") + @Value("${app.fronend-host}") private String frontendHost; @PostMapping("/deposit/checkout") diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 268279f..7004ce8 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -4,6 +4,7 @@ spring.datasource.password=postgres_pass server.port=8080 spring.jpa.hibernate.ddl-auto=create-drop stripe.secret.key=${STRIPE_SECRET_KEY:sk_test_51QrePYIvCfqz7ANgqam8rEwWcMeKiLOof3j6SCMgu2sl4sESP45DJxca16mWcYo1sQaiBv32CMR6Z4AAAGQPCJo300ubuZKO8I} +app.fronend-host=http://localhost:3000 spring.application.name=lf12_starter #client registration configuration