diff --git a/api/package.json b/api/package.json index ad4a31e1a..4cc35c49f 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "2.3.0", + "version": "2.3.1", "main": "dist/index.js", "license": "MIT", "private": true, diff --git a/package.json b/package.json index 2184fc599..27dff6c1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "teledrive", - "version": "2.3.0", + "version": "2.3.1", "repository": "git@github.com:mgilangjanuar/teledrive.git", "author": "M Gilang Januar ", "license": "MIT", diff --git a/web/package.json b/web/package.json index ab631d5d4..700ca484b 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "2.3.0", + "version": "2.3.1", "private": true, "dependencies": { "@ideasio/add-to-homescreen-react": "^1.0.10", diff --git a/web/src/pages/Startup.tsx b/web/src/pages/Startup.tsx index c76382b32..220c55f3f 100644 --- a/web/src/pages/Startup.tsx +++ b/web/src/pages/Startup.tsx @@ -1,16 +1,10 @@ import { RocketOutlined } from '@ant-design/icons' import { Button, Col, Form, Input, Layout, Row, Typography } from 'antd' -import React, { useEffect } from 'react' +import React from 'react' const Startup: React.FC = () => { const [form] = Form.useForm() - useEffect(() => { - form.setFieldsValue({ - baseUrl: localStorage.getItem('BASE_URL') || window.location.origin, - }) - }, []) - const finish = () => { localStorage.setItem('BASE_URL', form.getFieldValue('baseUrl')) return location.replace(form.getFieldValue('baseUrl')) diff --git a/web/src/utils/Constant.ts b/web/src/utils/Constant.ts index 21879a9de..5b8246ebb 100644 --- a/web/src/utils/Constant.ts +++ b/web/src/utils/Constant.ts @@ -1,4 +1,4 @@ -export const VERSION = '2.3.0' +export const VERSION = '2.3.1' export const MAX_UPLOAD_SIZE = 2_000_000_000 export const CHUNK_SIZE = 512 * 1024 export const RETRY_COUNT = 50 \ No newline at end of file