restored everything after nuking the repo
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const axiosInstance = axios.create({
|
||||
baseURL: import.meta.env.MODE === "development" ? "http://localhost:5001/api" : "/api",
|
||||
withCredentials: true,
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
export function formatMessageTime(date) {
|
||||
return new Date(date).toLocaleTimeString("en-US", {
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
hour12: false,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user