From 56f8232654e7d3e3f2c041b4431d0f6d9c8191bd Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Wed, 28 Aug 2019 22:22:57 +0200 Subject: [PATCH] Add HTTPS to NodeJS API Dumbo is that me --- client/src/views/Summoner.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/Summoner.vue b/client/src/views/Summoner.vue index f6b9e32..8df7cd8 100644 --- a/client/src/views/Summoner.vue +++ b/client/src/views/Summoner.vue @@ -135,7 +135,7 @@ export default { this.loading = true this.axios({ method: 'POST', - url: process.env.NODE_ENV === 'development' ? 'http://localhost:5000/api' : 'http://167.71.59.33/api', + url: process.env.NODE_ENV === 'development' ? 'http://localhost:5000/api' : 'https://api.valentinkaelin.ch/api', headers: { 'Content-Type': 'application/json' },