/**
 * Created by rockyl on 2019-09-19.
 *
 * 环境相关api
 */

import {fetchApi} from "./common";

export async function fetchEnv() {
	return await fetchApi('/api/editor/info', {
		errMessage: 'Failed to fetch env',
	})
}
