Alternative development example configuration for user in path instead of host

This commit is contained in:
Raul Ochoa 2016-11-24 12:57:45 +01:00
parent fe750f23bc
commit 58c407aabb

View File

@ -35,7 +35,7 @@ var config = {
// 3. {{=it.port}}: will use the `port` from this very same configuration file.
,resources_url_templates: {
http: 'http://{{=it.user}}.localhost.lan:{{=it.port}}/api/v1/map',
https: 'https://{{=it.cdn_url}}/{{=it.user}}/api/v1/map'
https: 'http://localhost.lan:{{=it.port}}/user/{{=it.user}}/api/v1/map'
}
// Maximum number of connections for one process