Making baseURL neutral
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
import { getCookie } from "./cookie";
|
||||
|
||||
// const baseURL = "https://auth.stamm.me";
|
||||
const baseURL = "http://localhost:3000";
|
||||
// const baseURL = "http://localhost:3000";
|
||||
const baseURL = "";
|
||||
|
||||
export default async function request(endpoint: string, parameters: { [key: string]: string } = {}, method: "GET" | "POST" | "DELETE" | "PUT" = "GET", body?: any, authInParam = false) {
|
||||
let pairs = [];
|
||||
|
Reference in New Issue
Block a user