mirror of
https://github.com/lucasroyerdev/stock-pignon.git
synced 2026-05-10 02:52:26 +00:00
feat: remove previous back button and add a switching validate/back button for better UX
This commit is contained in:
@@ -42,16 +42,16 @@ public class ControlServer extends NanoHTTPD {
|
||||
return downloadFile(Config.INPUT_JSON_NAME);
|
||||
|
||||
case "/output_json":
|
||||
return viewFile(Config.OUPUT_JSON_NAME);
|
||||
return viewFile(Config.OUTPUT_JSON_NAME);
|
||||
|
||||
case "/download_output_json":
|
||||
return downloadFile(Config.OUPUT_JSON_NAME);
|
||||
return downloadFile(Config.OUTPUT_JSON_NAME);
|
||||
|
||||
case "/output_csv":
|
||||
return viewFile(Config.OUPUT_CSV_NAME);
|
||||
return viewFile(Config.OUTPUT_CSV_NAME);
|
||||
|
||||
case "/download_output_csv":
|
||||
return downloadFile(Config.OUPUT_CSV_NAME);
|
||||
return downloadFile(Config.OUTPUT_CSV_NAME);
|
||||
|
||||
case "/":
|
||||
case "/index.html":
|
||||
|
||||
Reference in New Issue
Block a user