From ad39919f3fed02b8200d3c3c229aa99ac2176211 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 20 Nov 2022 17:10:25 -0800 Subject: [PATCH] Change default port --- docker-compose.dev.yml | 2 +- src/renderer/features/auth/routes/login-route.tsx | 4 ++-- src/renderer/features/shared/components/animated-page.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 6efe260a..ebc0980c 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -30,7 +30,7 @@ services: - TOKEN_EXPIRATION=${TOKEN_EXPIRATION} - TOKEN_REFRESH_EXPIRATION=${TOKEN_REFRESH_EXPIRATION} ports: - - '8843:9321' + - '8643:9321' restart: unless-stopped prisma: container_name: feishin_prisma_studio diff --git a/src/renderer/features/auth/routes/login-route.tsx b/src/renderer/features/auth/routes/login-route.tsx index 3091c3d9..0de8ad0b 100644 --- a/src/renderer/features/auth/routes/login-route.tsx +++ b/src/renderer/features/auth/routes/login-route.tsx @@ -20,7 +20,7 @@ export const LoginRoute = () => { const [username, setUsername] = useState(searchParams.get('username') || ''); const [password, setPassword] = useState(searchParams.get('password') || ''); const [server, setServer] = useState( - searchParams.get('server') || 'http://localhost:8843' + searchParams.get('server') || 'http://localhost:8643' ); const { @@ -88,7 +88,7 @@ export const LoginRoute = () => { ) => setServer(e.currentTarget.value) diff --git a/src/renderer/features/shared/components/animated-page.tsx b/src/renderer/features/shared/components/animated-page.tsx index a2dff398..b84a2a6f 100644 --- a/src/renderer/features/shared/components/animated-page.tsx +++ b/src/renderer/features/shared/components/animated-page.tsx @@ -1,6 +1,6 @@ import { ReactNode } from 'react'; -import styled from 'styled-components'; import { motion } from 'framer-motion'; +import styled from 'styled-components'; interface AnimatedPageProps { children: ReactNode;