This commit is contained in:
Aarni Koskela
2022-02-11 16:54:44 +02:00
parent 5c237084f5
commit a4a04f1dac
14 changed files with 172 additions and 224 deletions

View File

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