Comment cleanup & few TODO fixes

This commit is contained in:
Aarni Halinen
2021-01-15 21:00:21 +02:00
parent a887f8844c
commit b986c39059
5 changed files with 5 additions and 7 deletions
-1
View File
@@ -4,7 +4,6 @@ import axios from "axios";
const API_URL = "https://api.dev.sik.party/api"
export const getSiteRoot = (): string => process.env.SITE_URL || "http://localhost:3000";
// export const getPageUrl = ClientFunction(() => window.location.href.toString());
export const getPageUrl = ClientFunction(() => window.location.pathname);
export const getPostRequestLogger = (url: string) => RequestLogger({ url: `${API_URL}/${url}`, method: "post" }, {