Add HTTPS to NodeJS API

Dumbo is that me
This commit is contained in:
Valentin Kaelin 2019-08-28 22:22:57 +02:00
parent acecc8a71c
commit 56f8232654

View file

@ -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'
},