🔧 CORS proxy server

This commit is contained in:
2021-11-24 10:23:48 -08:00
parent ce5ad3575e
commit 485273da21
6 changed files with 63 additions and 6 deletions

View File

@@ -9,6 +9,13 @@ export const hostURIBuilder = (options: Record<string, string>): string => {
);
};
export const CORS_PROXY_SERVER_URI = hostURIBuilder({
protocol: "http",
host: process.env.UNDERLYING_HOSTNAME || "localhost",
port: "8050",
apiPath: "/",
});
export const COMICBOOKINFO_SERVICE_URI = hostURIBuilder({
protocol: "http",
host: process.env.UNDERLYING_HOSTNAME || "localhost",