Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Release v2.3.1 #350

Merged
merged 2 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api",
"version": "2.3.0",
"version": "2.3.1",
"main": "dist/index.js",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <mgilangjanuar@teledriveapp.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 1 addition & 7 deletions web/src/pages/Startup.tsx
Original file line number Diff line number Diff line change
@@ -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'))
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/Constant.ts
Original file line number Diff line number Diff line change
@@ -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