Files
koodiklinikka.fi/components/api.ts
2020-01-13 18:43:50 +02:00

6 lines
146 B
TypeScript

const host = process.env.SERVER || "https://koodiklinikka-api.herokuapp.com/";
export default function getApiURL(path) {
return host + path;
}