1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

Optimized code structure (#2430)

* combine utils file

* modify file position
This commit is contained in:
shanshuirenjia
2018-10-09 10:56:59 +08:00
committed by Daniel Pan
parent a2cc17778c
commit c0d645962f
45 changed files with 87 additions and 96 deletions

View File

@@ -1,6 +1,6 @@
import cookie from 'react-cookies';
import { SeafileAPI } from 'seafile-js';
import { siteRoot } from '../components/constants';
import { siteRoot } from './constants';
let seafileAPI = new SeafileAPI();
let xcsrfHeaders = cookie.load('sfcsrftoken');