forked from newthuhole/hole_thu_frontend
improve
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user