From db478579c5c00641e939970ffaf830fbfe4fdfd1 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 30 Jan 2014 16:56:23 +0100 Subject: [PATCH] Fix example development configuration to avoid use of empty sqlapi.domain This is because as of CartoDB-SQL-API-1.8.2 the "user_from_host" default configuration for "development" environment is: '^(.*)\\.localhost' Which would not match a domain-less hostname Closes #117 for real now. --- config/environments/development.js.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index c47ac82b..fae9482e 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -72,7 +72,7 @@ var config = { // The "domain" part will be appended to // the cartodb username and passed to // SQL-API requests in the Host HTTP header - domain: '', + domain: 'localhost.lan', version: 'v1' } ,varnish: {