Fix getSiteRoot

This commit is contained in:
Aarni Halinen
2021-01-12 23:28:45 +02:00
parent 33ad584804
commit 4c5bbfe90c
4 changed files with 4 additions and 6 deletions
+1 -3
View File
@@ -1,3 +1 @@
export const getSiteRoot = () => {
return process.env.SITE_URL || "http://localhost:3000";
}
export const getSiteRoot = (): string => process.env.SITE_URL || "http://localhost:3000";