Also, could you confirm that lines 20-23 of `packa...
# general
r
Also, could you confirm that lines 20-23 of
packages/server/src/cors.ts
matches the following:
Copy code
function isOriginAllowed(origin: string | undefined): boolean {
  const config = getConfig();
  return !!origin && (config.corsMode === 'open' || config.appBaseUrl.startsWith(origin));
}
180 Views