mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-30 04:12:52 +09:00
Merge branch 'main' into 68-move-content-editable-toolbar-to-workspace-tools
This commit is contained in:
commit
d5b4eefcc3
7 files changed
+8
-10
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { ActionFunction, redirect } from "@remix-run/node";
|
||||
import config from "~/config";
|
||||
import { authenticator } from "~/services/auth.server";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session/use-login-error-message";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session";
|
||||
|
||||
export default function Dev() {
|
||||
return null;
|
||||
|
||||
@@ -2,8 +2,7 @@ import { ActionFunction, redirect } from "@remix-run/node";
|
||||
import config from "~/config";
|
||||
import { authenticator } from "~/services/auth.server";
|
||||
import { sentryException } from "~/shared/sentry";
|
||||
import { ensureUserCookie } from "~/shared/session";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session/use-login-error-message";
|
||||
import { ensureUserCookie, AUTH_PROVIDERS } from "~/shared/session";
|
||||
|
||||
export default function GH() {
|
||||
return null;
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { LoaderFunction, redirect } from "@remix-run/node";
|
||||
import config from "~/config";
|
||||
import { authenticator } from "~/services/auth.server";
|
||||
import { ensureUserCookie } from "~/shared/session";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session/useLoginErrorMessage";
|
||||
import { ensureUserCookie, AUTH_PROVIDERS } from "~/shared/session";
|
||||
|
||||
export const loader: LoaderFunction = async ({ request }) => {
|
||||
const { userId } = await ensureUserCookie(request);
|
||||
|
||||
@@ -2,8 +2,7 @@ import { ActionFunction, LoaderFunction, redirect } from "@remix-run/node";
|
||||
import config from "~/config";
|
||||
import { authenticator } from "~/services/auth.server";
|
||||
import { sentryException } from "~/shared/sentry";
|
||||
import { ensureUserCookie } from "~/shared/session";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session/useLoginErrorMessage";
|
||||
import { ensureUserCookie, AUTH_PROVIDERS } from "~/shared/session";
|
||||
|
||||
export default function Google() {
|
||||
return null;
|
||||
|
||||
@@ -4,8 +4,8 @@ import { authenticator } from "~/services/auth.server";
|
||||
import config from "~/config";
|
||||
import env from "~/env.server";
|
||||
|
||||
import { Login, links } from "~/auth/";
|
||||
import { useLoginErrorMessage } from "~/shared/session/useLoginErrorMessage";
|
||||
import { Login, links } from "~/auth";
|
||||
import { useLoginErrorMessage } from "~/shared/session";
|
||||
|
||||
export { links };
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
createOrLoginWithGoogle,
|
||||
} from "~/shared/db/user.server";
|
||||
import { sentryException } from "~/shared/sentry";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session/use-login-error-message";
|
||||
import { AUTH_PROVIDERS } from "~/shared/session";
|
||||
|
||||
const url = `${
|
||||
process.env.VERCEL_URL
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
export * from "./user.server";
|
||||
export * from "./use-login-error-message";
|
||||
Reference in new issue
Block a user