зеркало из https://github.com/mozilla/hubs.git
This commit is contained in:
Родитель
8d654f2939
Коммит
f719c62a28
|
@ -9,8 +9,9 @@ if [ -z ${turkeyCfg_cors_proxy_server+x} ]; then export turkeyCfg_cors_proxy_ser
|
|||
if [ -z ${turkeyCfg_shortlink_domain+x} ]; then export turkeyCfg_shortlink_domain="$SUB_DOMAIN.$DOMAIN"; fi
|
||||
if [ -z ${turkeyCfg_sentry_dsn+x} ]; then export turkeyCfg_sentry_dsn=""; fi
|
||||
if [ -z ${turkeyCfg_postgrest_server+x} ]; then export turkeyCfg_postgrest_server=""; fi
|
||||
if [ -z ${turkeyCfg_ita_server+x} ]; then export turkeyCfg_ita_server=""; fi
|
||||
# if [ -z ${turkeyCfg_ita_server+x} ]; then export turkeyCfg_ita_server=""; fi
|
||||
if [ -z ${turkeyCfg_ga_tracking_id+x} ]; then export turkeyCfg_ga_tracking_id=""; fi
|
||||
export turkeyCfg_ita_server="turkey"
|
||||
|
||||
find /www/hubs/ -type f -name *.html -exec sed -i "s/{{rawhubs-base-assets-path}}\//https:\/\/${SUB_DOMAIN}-assets.${DOMAIN}\/hubs\//g" {} \;
|
||||
find /www/hubs/ -type f -name *.html -exec sed -i "s/{{rawhubs-base-assets-path}}/https:\/\/${SUB_DOMAIN}-assets.${DOMAIN}\/hubs\//g" {} \;
|
||||
|
|
|
@ -120,7 +120,7 @@ class Menu extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
if (configs.ITA_SERVER == ""){
|
||||
if (configs.ITA_SERVER == "turkey"){
|
||||
return (
|
||||
<List className={this.props.classes.root}>
|
||||
<ListItem className={this.props.classes.logo}>
|
||||
|
|
Загрузка…
Ссылка в новой задаче