mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-24 17:56:31 +00:00
Codemod vars to const/let
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var host = process.env.SERVER || "https://lit-plateau-4689.herokuapp.com/";
|
||||
const host = process.env.SERVER || "https://lit-plateau-4689.herokuapp.com/";
|
||||
|
||||
export default function(path) {
|
||||
export default function getApiURL(path) {
|
||||
return host + path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user