Add HTTPS to NodeJS API

This commit is contained in:
Valentin Kaelin 2019-08-28 22:21:24 +02:00
parent acecc8a71c
commit 4c774cff17

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/',
headers: {
'Content-Type': 'application/json'
},