chore: update cors default path

This commit is contained in:
Fred 2024-03-14 01:33:41 +08:00
parent 8645214654
commit 133ce39a13
No known key found for this signature in database
GPG Key ID: 4DABDA85EF70EC71
2 changed files with 1 additions and 3 deletions

View File

@ -23,7 +23,7 @@ export enum Path {
}
export enum ApiPath {
Cors = "/api/cors",
Cors = "",
OpenAI = "/api/openai",
}

View File

@ -81,8 +81,6 @@ export function createUpstashClient(store: SyncStore) {
};
},
path(path: string, proxyUrl: string = "") {
// let url = config.endpoint;
if (!path.endsWith("/")) {
path += "/";
}