Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Merge branch 'main' of github.com:webstudio-is/webstudio-designer into auth-small-fixes
Sara Vieiraa8c48ba97a73
diff --cc .github/workflows/main.ymlindex 1141d374da,1141d374da..09beefa63a--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@@ -18,7 -18,7 +18,7 @@@ jobs# uses: bahmutov/npm-install@v1- run: yarn install-- - name: Next.js cache++ - name: Remix cacheuses: actions/cache@v2with:path: ${{ github.workspace }}/.next/cachediff --cc app/routes/login/index.tsxindex 697ccd044d,01938965a7..a53ac6668b--- a/app/routes/login/index.tsx+++ b/app/routes/login/index.tsx@@@ -2,9 -2,9 +2,10 @@@ import { LoaderFunction, redirect } froimport { authenticator } from "~/services/auth.server";import config from "~/config";+ import env from "~/env.server";import { Login, links } from "~/auth/";+import { useLoginErrors } from "~/shared/session/useLoginErrors";export { links };diff --cc app/services/auth.server.tsindex 09fd2c9ce6,352cad7334..770f82ea22--- a/app/services/auth.server.ts+++ b/app/services/auth.server.ts@@@ -57,11 -58,22 +58,22 @@@ if (process.env.DEV_LOGIN === "true")const secret = form.get("secret");if (secret === process.env.AUTH_SECRET) {- const user = await createOrLoginWithDev(secret);- return user;+ try {+ const user = await createOrLoginWithDev(secret);+ return user;+ } catch (error: unknown) {+ if (error instanceof Error) {+ sentryException({+ message: error.message,+ extra: {+ loginMethod: "dev",+ },+ });+ }+ }}- throw new Error("Wrong code");+ throw new Error("The dev login code is incorrect");}),"dev");