From 2a84f5387399bc6a3b01901164a85fe6fb07730d Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sun, 14 Apr 2024 23:26:55 -0400 Subject: [PATCH] Update endpoints for consistency --- .vscode/launch.json | 4 ++-- .../controller/combination/AdfgvxCipherController.java | 2 +- .../controller/combination/AdfgxCipherController.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b2ca225..df83048 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,10 +2,10 @@ "configurations": [ { "type": "java", - "name": "Spring Boot-CipherStreamWeb", + "name": "Spring Boot-CipherStreamAPI", "request": "launch", "cwd": "${workspaceFolder}", - "mainClass": "com.mattrixwv.cipherstream.CipherStreamWeb", + "mainClass": "com.mattrixwv.cipherstream.CipherStreamAPI", "projectName": "cipherstream-website", "args": "--spring.config.additional-location=local/application.properties --logging.config=local/log4j2-spring.xml", "envFile": "${workspaceFolder}/.env" diff --git a/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgvxCipherController.java b/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgvxCipherController.java index 5eba3ac..75f7c8f 100644 --- a/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgvxCipherController.java +++ b/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgvxCipherController.java @@ -18,7 +18,7 @@ import lombok.extern.slf4j.Slf4j; @Slf4j @RestController -@RequestMapping("adfgvx") +@RequestMapping("/cipherStream/adfgvx") public class AdfgvxCipherController{ @GetMapping public ObjectNode getCipherInfo(){ diff --git a/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgxCipherController.java b/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgxCipherController.java index 8d34b5c..c07364a 100644 --- a/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgxCipherController.java +++ b/src/main/java/com/mattrixwv/cipherstream/controller/combination/AdfgxCipherController.java @@ -18,7 +18,7 @@ import lombok.extern.slf4j.Slf4j; @Slf4j @RestController -@RequestMapping("adfgx") +@RequestMapping("/cipherStream/adfgx") public class AdfgxCipherController{ @GetMapping public ObjectNode getCipherInfo(){