rimecms 0.25.8 → 0.25.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,6 +4,7 @@ import { betterAuthAfterHook, betterAuthBeforeHook } from './better-auth-hooks.j
|
|
|
4
4
|
import { accessControl, admin, staff, user } from './better-auth-permissions.js';
|
|
5
5
|
export function getBaseAuthConfig(ctx) {
|
|
6
6
|
const betterAuthOptions = {
|
|
7
|
+
baseUrl: ctx.config.raw.siteUrl,
|
|
7
8
|
plugins: configurePlugins(ctx.config.raw),
|
|
8
9
|
rateLimit: {
|
|
9
10
|
enabled: !dev,
|
|
@@ -1909,6 +1909,7 @@ export declare const buildConfig: <const C extends Config>(config: C) => Promise
|
|
|
1909
1909
|
plugins: any;
|
|
1910
1910
|
} ? C["$auth"]["plugins"] : [])[number])[];
|
|
1911
1911
|
database: (options: import("better-auth/types").BetterAuthOptions) => import("better-auth/types").DBAdapter<import("better-auth/types").BetterAuthOptions>;
|
|
1912
|
+
baseUrl: string | undefined;
|
|
1912
1913
|
rateLimit: {
|
|
1913
1914
|
readonly enabled: boolean;
|
|
1914
1915
|
readonly window: 10;
|
|
@@ -3890,6 +3891,7 @@ export declare const buildConfig: <const C extends Config>(config: C) => Promise
|
|
|
3890
3891
|
plugins: any;
|
|
3891
3892
|
} ? C["$auth"]["plugins"] : [])[number])[];
|
|
3892
3893
|
database: (options: import("better-auth/types").BetterAuthOptions) => import("better-auth/types").DBAdapter<import("better-auth/types").BetterAuthOptions>;
|
|
3894
|
+
baseUrl: string | undefined;
|
|
3893
3895
|
rateLimit: {
|
|
3894
3896
|
readonly enabled: boolean;
|
|
3895
3897
|
readonly window: 10;
|
|
@@ -1921,6 +1921,7 @@ export declare function createRime<const C extends Config>(config: BuildConfig<C
|
|
|
1921
1921
|
plugins: any;
|
|
1922
1922
|
} ? C["$auth"]["plugins"] : [])[number])[];
|
|
1923
1923
|
database: (options: import("better-auth/*").BetterAuthOptions) => import("better-auth/*").DBAdapter<import("better-auth/*").BetterAuthOptions>;
|
|
1924
|
+
baseUrl: string | undefined;
|
|
1924
1925
|
rateLimit: {
|
|
1925
1926
|
readonly enabled: boolean;
|
|
1926
1927
|
readonly window: 10;
|
|
@@ -3926,6 +3927,7 @@ export declare function createRime<const C extends Config>(config: BuildConfig<C
|
|
|
3926
3927
|
plugins: any;
|
|
3927
3928
|
} ? C["$auth"]["plugins"] : [])[number])[];
|
|
3928
3929
|
database: (options: import("better-auth/*").BetterAuthOptions) => import("better-auth/*").DBAdapter<import("better-auth/*").BetterAuthOptions>;
|
|
3930
|
+
baseUrl: string | undefined;
|
|
3929
3931
|
rateLimit: {
|
|
3930
3932
|
readonly enabled: boolean;
|
|
3931
3933
|
readonly window: 10;
|