@@ -23,7 +23,7 @@ export enum Path {
}
export enum ApiPath {
- Cors = "/api/cors",
+ Cors = "",
OpenAI = "/api/openai",
@@ -81,8 +81,6 @@ export function createUpstashClient(store: SyncStore) {
};
},
path(path: string, proxyUrl: string = "") {
- // let url = config.endpoint;
-
if (!path.endsWith("/")) {
path += "/";