Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Unrestrict domain for trpc client (#208)
Luke Vellae7c453a1209b
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsxindex 9e61b7a0e..3b3fb8560 100644--- a/src/pages/_app.tsx+++ b/src/pages/_app.tsx@@ -16,7 +16,6 @@ import superjson from "superjson";import Maintenance from "@/components/maintenance";import ModalProvider from "@/components/modal/modal-provider";import PreferencesProvider from "@/components/preferences/preferences-provider";-import { absoluteUrl } from "@/utils/absolute-url";import { AppRouter } from "./api/trpc/[trpc]";@@ -52,7 +51,7 @@ const MyApp: NextPage<AppProps> = ({ Component, pageProps }) => {export default withTRPC<AppRouter>({config() {- const url = `${absoluteUrl()}/api/trpc`;+ const url = "/api/trpc";return {transformer: superjson,