import packageJson from "../../package.json";

const BASE_PATH = process.env.GRIDDO_API_URL || process.env.REACT_APP_API_ENDPOINT;

const headers = {
	"Content-type": "application/json; charset=UTF-8",
	accept: "application/json",
	"x-application-id": "griddo-ax",
	"x-client-version": packageJson.version,
	"x-client-name": "AX",
};

export const template = {
	host: BASE_PATH,
	endpoint: "",
	method: "",
	dynamicUrl: "",
	headers: {
		...headers,
	},
	hasToken: true,
};
