From 89908fc1812ed98ded981c3e81a209312bd38863 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Fri, 20 Oct 2023 08:04:19 -0400 Subject: [PATCH] [photon-server] Fix journal-ctl export bug (#970) * Update Server.java * And this --- photon-client/src/components/settings/DeviceControlCard.vue | 2 +- photon-server/src/main/java/org/photonvision/server/Server.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/photon-client/src/components/settings/DeviceControlCard.vue b/photon-client/src/components/settings/DeviceControlCard.vue index 157bb6b7b0..492c3a4fc2 100644 --- a/photon-client/src/components/settings/DeviceControlCard.vue +++ b/photon-client/src/components/settings/DeviceControlCard.vue @@ -308,7 +308,7 @@ const handleSettingsImport = () => { diff --git a/photon-server/src/main/java/org/photonvision/server/Server.java b/photon-server/src/main/java/org/photonvision/server/Server.java index b6595d5b94..4026ab58fa 100644 --- a/photon-server/src/main/java/org/photonvision/server/Server.java +++ b/photon-server/src/main/java/org/photonvision/server/Server.java @@ -104,7 +104,7 @@ public static void start(int port) { // Utilities app.post("/api/utils/offlineUpdate", RequestHandler::onOfflineUpdateRequest); - app.get("/api/utils/logs/photonvision-journalctl.txt", RequestHandler::onLogExportRequest); + app.get("/api/utils/photonvision-journalctl.txt", RequestHandler::onLogExportRequest); app.post("/api/utils/restartProgram", RequestHandler::onProgramRestartRequest); app.post("/api/utils/restartDevice", RequestHandler::onDeviceRestartRequest); app.post("/api/utils/publishMetrics", RequestHandler::onMetricsPublishRequest);