From 744e7a0ddb1d0bed9e0c4f7140665f517b27ab7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Belli?= Date: Fri, 9 Jun 2017 19:14:39 +0200 Subject: [PATCH] Step 17.7: Let every connection pass through Nginx --- meteor-client.config.json | 3 ++- package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meteor-client.config.json b/meteor-client.config.json index 249cd1675..20df0d75c 100644 --- a/meteor-client.config.json +++ b/meteor-client.config.json @@ -1,6 +1,7 @@ { "runtime": { - "DDP_DEFAULT_CONNECTION_URL": "http://192.168.1.156:3000" + "DDP_DEFAULT_CONNECTION_URL": "http://meteor.linuxsystems.it", + "ROOT_URL": "http://meteor.linuxsystems.it" }, "import": [ diff --git a/package.json b/package.json index 1f797107a..0820c0c8f 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "url": "https://github.com/Urigo/Ionic2CLI-Meteor-WhatsApp.git" }, "scripts": { - "api": "cd api && export ROOT_URL=http://192.168.1.156:3000 && meteor run --settings private/settings.json", - "api:reset": "cd api && export ROOT_URL=http://192.168.1.156:3000 && meteor reset", + "api": "cd api && export ROOT_URL=http://meteor.linuxsystems.it && meteor run --settings private/settings.json", + "api:reset": "cd api && export ROOT_URL=http://meteor.linuxsystems.it && meteor reset", "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint",