Skip to content

Commit

Permalink
Keep fallback controller to local profile
Browse files Browse the repository at this point in the history
RISDEV-0000
  • Loading branch information
VictorDelCampo committed Jan 14, 2025
1 parent 82a0d3d commit 8409088
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 6 additions & 6 deletions backend/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=\
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports \
jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.\
compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.\
compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.\
sun.tools.javac.util=ALL-UNNAMED
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.\
api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.\
file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.\
parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.\
tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.\
util=ALL-UNNAMED
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.bund.digitalservice.ris.norms.adapter.input.restapi.controller;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
Expand All @@ -11,6 +12,7 @@
* It ensures that the Vue.js single-page application (SPA) can take over client-side routing.
*/
@Controller
@Profile("local")
public class FrontendFallbackController {

/**
Expand Down
4 changes: 0 additions & 4 deletions backend/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,3 @@ otc:

publish:
cron: "0 0 2 * * 1-5" # # Runs at 2:00 AM UTC (3:00 AM Berlin time in CET)

logging:
level:
org.springframework: TRACE

0 comments on commit 8409088

Please sign in to comment.