Merge pull request #1859 from xps2/repurl

リポジトリとフィードバックのURLをconfigから指定できるように変更
This commit is contained in:
syuilo 2018-07-07 21:17:29 +09:00 committed by GitHub
commit e85ac32c2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 4 deletions

View file

@ -84,6 +84,8 @@ const consts = {
_API_URL_: config.api_url,
_WS_URL_: config.ws_url,
_DEV_URL_: config.dev_url,
_REPOSITORY_URL_: config.maintainer.repository_url,
_FEEDBACK_URL_: config.maintainer.feedback_url,
_LANG_: '%lang%',
_LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]),
_NAME_: config.name,