import webapi from './webapi'
import logo from '@/assets/img/logo.png'

var _options = {
	webapi,
	goAfterLogin: {
		appName: 'ttk-edf-app-portal',
		appParams: {}
	},
	goRegister:{
		appName: 'ttk-edf-app-register',
		appParams: {}
	},
	goForgot:{
		appName: 'ttk-edf-app-forgot-password',
		appParams: {}
	},
	logo
}


function config(options) {
	if (options) {
		Object.assign(_options, options)
	}
}

config.current = _options

export default config