This commit is contained in:
xmcp
2018-08-26 23:11:43 +08:00
parent 465521a6c8
commit 32883e4bbd
5 changed files with 27 additions and 12 deletions

View File

@@ -5,8 +5,8 @@ import './UserAction.css';
import {API_BASE} from './Common';
const LOGIN_BASE=window.location.protocol==='https:' ? '/login_proxy' : 'http://www.pkuhelper.com/services/login';
const MAX_IMG_PX=1000;
const MAX_IMG_FILESIZE=100000;
const MAX_IMG_PX=2000;
const MAX_IMG_FILESIZE=256000;
export const TokenCtx=React.createContext({
value: null,