mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
fix GA host configuration + updated doc about default_host
This commit is contained in:
parent
5f0a9ed572
commit
cce70d33a9
@ -30,6 +30,7 @@
|
||||
Fablab.defaultHost = "<%= Rails.application.secrets.default_host %>";
|
||||
Fablab.trackingId = "<%= Setting.get('tracking_id') %>";
|
||||
Fablab.superadminId = parseInt("<%= User.superadmin&.id %>", 10);
|
||||
Fablab.baseHostUrl = "<%= Rails.application.secrets.default_host %>";
|
||||
|
||||
// i18n stuff
|
||||
Fablab.locale = "<%= Rails.application.secrets.app_locale %>";
|
||||
|
@ -71,7 +71,8 @@ See https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-confi
|
||||
Your members will receive email notifications containing links to your of Fab-manager.
|
||||
You must properly configure these variables to match URL of this instance, to prevent broken links.
|
||||
Typically, `DEFAULT_PROTOCOL` will be `https` (`http` if you are in development, or if you set `ALLOW_INSECURE_HTTP`).
|
||||
The variable `DEFAULT_HOST` should be your domain name (eg. fabmanager.example.com), and is also used for visits statistics (configuration of Google Analytics).
|
||||
The variable `DEFAULT_HOST` should be your domain name (eg. fabmanager.example.com), and is also used for visits statistics (configuration of Google Analytics).
|
||||
These two variables are also used for SSO authentication.
|
||||
<a name="LOG_LEVEL"></a>
|
||||
|
||||
LOG_LEVEL
|
||||
|
Loading…
x
Reference in New Issue
Block a user