update routes.ts
This commit is contained in:
parent
1db6f7688c
commit
7bcef420ab
|
|
@ -1,5 +1,5 @@
|
|||
// const API = "https://logs.danielvu.com/api";
|
||||
const API = "http://localhost:3333/api";
|
||||
const API = "https://logs.danielvu.com/api";
|
||||
// const API = "http://localhost:3333/api";
|
||||
export const getKeyValues = API + "/getKeyValue";
|
||||
export const deleteValue = API + "/deleteValue";
|
||||
export const addKeyValue = API + "/addValue";
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ Route.get("/api/log/showLog/:name?", async ({ request, response }) => {
|
|||
contentFile: data.join("\n"),
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
// console.error(error);
|
||||
response
|
||||
.status(203)
|
||||
.send("FILE NOT FOUND");
|
||||
|
|
|
|||
Loading…
Reference in New Issue